#40A8D9#40A8D9

#40A8D9 is a light, moderate cyan. Relative luminance 0.341; OKLCH L 69.2% C 0.118 H 232.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#40A8D9
RGBrgb(64, 168, 217)
HSLhsl(199, 67%, 55%)
HSVhsv(199, 71%, 85%)
CMYKcmyk(70.5%, 22.6%, 0%, 14.9%)
CIE-LABlab(65.04, -14.13, -33.46)
CIE-LCHlch(65.04, 36.32, 247.11°)
OKLaboklab(69.25% -0.0716 -0.094)
OKLCHoklch(69.25% 0.118 232.7)
XYZxyz(28.6364, 34.1018, 70.7053)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A8D9 #D97140
analogous
#40D9BE #40A8D9 #405BD9
triadic
#40A8D9 #D940A8 #A8D940
tetradic
#40A8D9 #BE40D9 #D97140 #5BD940
square
#40A8D9 #BE40D9 #D97140 #5BD940
split-complementary
#40A8D9 #D9405B #D9BE40
monochromatic
#1A6284 #2488B7 #40A8D9 #73BFE3 #A6D7ED

Accessibility & contrast

On white

2.69
#40A8D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#40A8D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A8D9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A8D9#FFFFFF#000000##000000
##40A8D91.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A6DB
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#00B5B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40a8d9;
/* rgb */ color: rgb(64, 168, 217);
/* oklch */ color: oklch(69.2% 0.118 232.7);
Tailwind
colors: {
  custom: {
    50: '#87c1e5',
    500: '#40a8d9',
    950: '#000000',
  },
}
SCSS
$custom: #40a8d9;
$custom-light: #87c1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a8d9",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 217
  },
  "hsl": {
    "h": 199.216,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.11817,
    "h": 232.7
  },
  "luminance": 0.34105
}

Semantic roles & 50–950 ramp

primary
#40A8D9
secondary
#DAAF9A
accent
#753EEA
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #40A8D9

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

Preview Lab → · Contrast checker → · Palette generator →

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