#40C7DF#40C7DF

#40C7DF is a light, moderate teal. Relative luminance 0.473; OKLCH L 76.8% C 0.118 H 212.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#40C7DF
RGBrgb(64, 199, 223)
HSLhsl(189, 71%, 56%)
HSVhsv(189, 71%, 87%)
CMYKcmyk(71.3%, 10.8%, 0%, 12.5%)
CIE-LABlab(74.36, -28.20, -22.42)
CIE-LCHlch(74.36, 36.03, 218.49°)
OKLaboklab(76.79% -0.0996 -0.0624)
OKLCHoklch(76.79% 0.118 212.1)
XYZxyz(35.8514, 47.2603, 77.0304)
Luminance0.4727 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C7DF #DF5840
analogous
#40DFA8 #40C7DF #4078DF
triadic
#40C7DF #DF40C7 #C7DF40
tetradic
#40C7DF #A840DF #DF5840 #78DF40
square
#40C7DF #A840DF #DF5840 #78DF40
split-complementary
#40C7DF #DF4078 #DFA840
monochromatic
#187B8D #20A9C1 #40C7DF #74D6E8 #A9E6F1

Accessibility & contrast

On white

2.01
#40C7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#40C7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C7DF
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C7DF#FFFFFF#000000##000000
##40C7DF1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4C0E0
Deuteranopia (green-blind)
#9EB0DF
Tritanopia (blue-blind)
#00D1CE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40c7df;
/* rgb */ color: rgb(64, 199, 223);
/* oklch */ color: oklch(76.8% 0.118 212.1);
Tailwind
colors: {
  custom: {
    50: '#8ad8e9',
    500: '#40c7df',
    950: '#000000',
  },
}
SCSS
$custom: #40c7df;
$custom-light: #8ad8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#40c7df",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 223
  },
  "hsl": {
    "h": 189.057,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.11753,
    "h": 212.1
  },
  "luminance": 0.47265
}

Semantic roles & 50–950 ramp

primary
#40C7DF
secondary
#DEA79D
accent
#553AEE
background
#F9FDFE
surface
#F2FAFC
border
#CCD3D5
text
#0D1416
muted
#7E8384

Preview Lab

Preview with #40C7DF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#40C7DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva