#40A1D9#40A1D9

#40A1D9 is a light, vivid cyan. Relative luminance 0.316; OKLCH L 67.6% C 0.122 H 237.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#40A1D9
RGBrgb(64, 161, 217)
HSLhsl(202, 67%, 55%)
HSVhsv(202, 71%, 85%)
CMYKcmyk(70.5%, 25.8%, 0%, 14.9%)
CIE-LABlab(63.00, -10.30, -36.64)
CIE-LCHlch(63.00, 38.06, 254.30°)
OKLaboklab(67.62% -0.0647 -0.1033)
OKLCHoklch(67.62% 0.122 237.9)
XYZxyz(27.3787, 31.5864, 70.2860)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A1D9 #D97840
analogous
#40D9C5 #40A1D9 #4054D9
triadic
#40A1D9 #D940A1 #A1D940
tetradic
#40A1D9 #C540D9 #D97840 #54D940
square
#40A1D9 #C540D9 #D97840 #54D940
split-complementary
#40A1D9 #D94054 #D9C540
monochromatic
#1A5D84 #2482B7 #40A1D9 #73BAE3 #A6D3ED

Accessibility & contrast

On white

2.87
#40A1D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#40A1D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A1D9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A1D9#FFFFFF#000000##000000
##40A1D91.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A1DC
Deuteranopia (green-blind)
#7292D8
Tritanopia (blue-blind)
#00AFB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40a1d9;
/* rgb */ color: rgb(64, 161, 217);
/* oklch */ color: oklch(67.6% 0.122 237.9);
Tailwind
colors: {
  custom: {
    50: '#87bce5',
    500: '#40a1d9',
    950: '#000000',
  },
}
SCSS
$custom: #40a1d9;
$custom-light: #87bce5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a1d9",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 217
  },
  "hsl": {
    "h": 201.961,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.12188,
    "h": 237.9
  },
  "luminance": 0.31589
}

Semantic roles & 50–950 ramp

primary
#40A1D9
secondary
#DAB29A
accent
#7D3EEA
background
#F9FBFE
surface
#F1F6FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #40A1D9

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

Preview Lab → · Contrast checker → · Palette generator →

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