#40A2D9#40A2D9

#40A2D9 is a light, vivid cyan. Relative luminance 0.319; OKLCH L 67.9% C 0.121 H 237.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#40A2D9
RGBrgb(64, 162, 217)
HSLhsl(202, 67%, 55%)
HSVhsv(202, 71%, 85%)
CMYKcmyk(70.5%, 25.3%, 0%, 14.9%)
CIE-LABlab(63.29, -10.85, -36.19)
CIE-LCHlch(63.29, 37.78, 253.30°)
OKLaboklab(67.85% -0.0657 -0.1019)
OKLCHoklch(67.85% 0.121 237.2)
XYZxyz(27.5542, 31.9373, 70.3445)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A2D9 #D97740
analogous
#40D9C4 #40A2D9 #4055D9
triadic
#40A2D9 #D940A2 #A2D940
tetradic
#40A2D9 #C440D9 #D97740 #55D940
square
#40A2D9 #C440D9 #D97740 #55D940
split-complementary
#40A2D9 #D94055 #D9C440
monochromatic
#1A5E84 #2483B7 #40A2D9 #73BBE3 #A6D4ED

Accessibility & contrast

On white

2.84
#40A2D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#40A2D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A2D9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A2D9#FFFFFF#000000##000000
##40A2D91.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A1DC
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#00B0B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40a2d9;
/* rgb */ color: rgb(64, 162, 217);
/* oklch */ color: oklch(67.9% 0.121 237.2);
Tailwind
colors: {
  custom: {
    50: '#87bde5',
    500: '#40a2d9',
    950: '#000000',
  },
}
SCSS
$custom: #40a2d9;
$custom-light: #87bde5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a2d9",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 217
  },
  "hsl": {
    "h": 201.569,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.12129,
    "h": 237.2
  },
  "luminance": 0.3194
}

Semantic roles & 50–950 ramp

primary
#40A2D9
secondary
#DAB19A
accent
#7C3EEA
background
#F9FBFE
surface
#F1F6FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #40A2D9

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

Preview Lab → · Contrast checker → · Palette generator →

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