#40AFD9#40AFD9

#40AFD9 is a light, moderate cyan. Relative luminance 0.368; OKLCH L 70.9% C 0.116 H 227.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#40AFD9
RGBrgb(64, 175, 217)
HSLhsl(196, 67%, 55%)
HSVhsv(196, 71%, 85%)
CMYKcmyk(70.5%, 19.4%, 0%, 14.9%)
CIE-LABlab(67.09, -17.87, -30.29)
CIE-LCHlch(67.09, 35.17, 239.46°)
OKLaboklab(70.88% -0.0784 -0.0849)
OKLCHoklch(70.88% 0.116 227.3)
XYZxyz(29.9636, 36.7563, 71.1477)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AFD9 #D96A40
analogous
#40D9B7 #40AFD9 #4062D9
triadic
#40AFD9 #D940AF #AFD940
tetradic
#40AFD9 #B740D9 #D96A40 #62D940
square
#40AFD9 #B740D9 #D96A40 #62D940
split-complementary
#40AFD9 #D94062 #D9B740
monochromatic
#1A6784 #248FB7 #40AFD9 #73C4E3 #A6DAED

Accessibility & contrast

On white

2.51
#40AFD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#40AFD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AFD9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AFD9#FFFFFF#000000##000000
##40AFD91.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ACDB
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#00BBBD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40afd9;
/* rgb */ color: rgb(64, 175, 217);
/* oklch */ color: oklch(70.9% 0.116 227.3);
Tailwind
colors: {
  custom: {
    50: '#88c7e5',
    500: '#40afd9',
    950: '#000000',
  },
}
SCSS
$custom: #40afd9;
$custom-light: #88c7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#40afd9",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 217
  },
  "hsl": {
    "h": 196.471,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70883,
    "c": 0.11555,
    "h": 227.3
  },
  "luminance": 0.3676
}

Semantic roles & 50–950 ramp

primary
#40AFD9
secondary
#DAAC9A
accent
#6D3EEA
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1315
muted
#7E8284

Preview Lab

Preview with #40AFD9

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

Preview Lab → · Contrast checker → · Palette generator →

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