#40A6D9#40A6D9

#40A6D9 is a light, moderate cyan. Relative luminance 0.334; OKLCH L 68.8% C 0.119 H 234.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40A6D9
RGBrgb(64, 166, 217)
HSLhsl(200, 67%, 55%)
HSVhsv(200, 71%, 85%)
CMYKcmyk(70.5%, 23.5%, 0%, 14.9%)
CIE-LABlab(64.46, -13.05, -34.37)
CIE-LCHlch(64.46, 36.76, 249.22°)
OKLaboklab(68.78% -0.0696 -0.0967)
OKLCHoklch(68.78% 0.119 234.2)
XYZxyz(28.2700, 33.3690, 70.5831)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A6D9 #D97340
analogous
#40D9BF #40A6D9 #405AD9
triadic
#40A6D9 #D940A6 #A6D940
tetradic
#40A6D9 #BF40D9 #D97340 #5AD940
square
#40A6D9 #BF40D9 #D97340 #5AD940
split-complementary
#40A6D9 #D9405A #D9BF40
monochromatic
#1A6184 #2486B7 #40A6D9 #73BEE3 #A6D6ED

Accessibility & contrast

On white

2.74
#40A6D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#40A6D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A6D9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A6D9#FFFFFF#000000##000000
##40A6D91.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DB
Deuteranopia (green-blind)
#7896D8
Tritanopia (blue-blind)
#00B3B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40a6d9;
/* rgb */ color: rgb(64, 166, 217);
/* oklch */ color: oklch(68.8% 0.119 234.2);
Tailwind
colors: {
  custom: {
    50: '#87c0e5',
    500: '#40a6d9',
    950: '#000000',
  },
}
SCSS
$custom: #40a6d9;
$custom-light: #87c0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a6d9",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 217
  },
  "hsl": {
    "h": 200,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6878,
    "c": 0.11912,
    "h": 234.2
  },
  "luminance": 0.33372
}

Semantic roles & 50–950 ramp

primary
#40A6D9
secondary
#DAB09A
accent
#773EEA
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #40A6D9

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

Preview Lab → · Contrast checker → · Palette generator →

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