Skip to content

CSS named color

Turquoise #40E0D0

Turquoise (CSS keyword turquoise) has the hex code #40E0D0 and the RGB value rgb(64, 224, 208): a very light, moderately saturated cyan.

Turquoise#40E0D0

Named after the turquoise gemstone; the word comes from French for "Turkish", since the stone reached Europe through Turkey. The CSS value (#40e0d0) is a bright blue-green.

Color codes for Turquoise

Color codes for Turquoise
CSS keywordturquoise
HEX#40E0D0
RGBrgb(64, 224, 208)
HSLhsl(174, 72%, 56%)
HWBhwb(174 25% 12%)
OKLCHoklch(82.2% 0.131 185.1)
CMYK (naive, no ICC profile)cmyk(71%, 0%, 7%, 12%)
Decimal4,251,856
Hue familyCyans and teals

Contrast and accessibility

On turquoise, black text has a contrast ratio of 12.79:1 and passes AAA at any text size; white text reaches 1.64:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on turquoise12.79:1PassPassPassPass75.7
White text on turquoise1.64:1FailFailFailFail−31.7
Turquoise text on white1.64:1FailFailFailFail28.1
Turquoise text on black12.79:1PassPassPassPass−74.9

Tints and shades

Each step mixes turquoise with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, turquoise, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #4ae2d2
  2. 15%
    #5de5d7
  3. 25%
    #70e8dc
  4. 35%
    #83ebe0
  5. 45%
    #96eee5
  6. 55%
    #a9f1ea
  7. 65%
    #bcf4ef
  8. 75%
    #cff7f3
  9. 85%
    #e2faf8
  10. 95%
    #f5fdfd

Shades (mixed with black)

  1. 5%
    #3dd5c6
  2. 15%
    #36beb1
  3. 25%
    #30a89c
  4. 35%
    #2a9287
  5. 45%
    #237b72
  6. 55%
    #1d655e
  7. 65%
    #164e49
  8. 75%
    #103834
  9. 85%
    #0a221f
  10. 95%
    #030b0a

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, turquoise's complementary color is #FFA0B9 (close to lightpink), its analogous colors are #79DE9F and #40DAFA, and its triadic partners are #D9AFFF and #FFB263. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffa0b9
Analogous−30°, +30°#79de9f#40dafa
Triadic+120°, +240°#d9afff#ffb263
Split-complementary+150°, +210°#f9a4e6#ffa78d

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Turquoise is a cool color: its hue is 174° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
mediumturquoise#48d1cc4.1
darkturquoise#00ced15.7
mediumaquamarine#66cdaa6.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
teal-300#46ecd53.5
teal-400#00d5be5.1
emerald-300#5ee9b55.4

Code snippets

CSS
.element {
  color: turquoise;
  background-color: #40e0d0;
  border-color: rgb(64 224 208);
  outline-color: oklch(82.2% 0.131 185.1);
}
Tailwind CSS
<div class="bg-[#40e0d0] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-turquoise: #40e0d0;
}
/* then use bg-turquoise, text-turquoise, border-turquoise */
SwiftUI
import SwiftUI

extension Color {
  static let turquoise = Color(red: 0.251, green: 0.878, blue: 0.816)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Turquoise = Color(0xFF40E0D0)
Flutter
import 'package:flutter/material.dart';

const turquoise = Color(0xFF40E0D0);
Android XML
<!-- res/values/colors.xml -->
<color name="turquoise">#40E0D0</color>

Frequently asked questions

What is the hex code for turquoise?
The hex code for turquoise is #40E0D0. The same color is rgb(64, 224, 208), hsl(174, 72%, 56%) and oklch(82.2% 0.131 185.1), and in CSS you can also write the keyword turquoise directly.
Is turquoise a warm or cool color?
Turquoise is a cool color: its hue is 174° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with turquoise?
Rotating the hue in OKLCH while keeping lightness and chroma, turquoise's complementary color is #FFA0B9 (close to lightpink), its analogous colors are #79DE9F and #40DAFA, and its triadic partners are #D9AFFF and #FFB263. For text on top, black gives the higher contrast.
Can you use white text on turquoise?
White text on turquoise has a contrast ratio of 1.64:1, which fails AA even for large text under WCAG 2.2. Black text reaches 12.79:1 and passes both AA and AAA. In APCA terms that is Lc −31.7 for white and Lc 75.7 for black.
What is the RGB value of turquoise?
Turquoise is rgb(64, 224, 208): red 64, green 224 and blue 208 on the 0 to 255 scale, or 25.1%, 87.8% and 81.6%. As a decimal integer it is 4251856.

Last reviewed by Arielton Oberek.