#40A7D9#40A7D9

#40A7D9 is a light, moderate cyan. Relative luminance 0.337; OKLCH L 69.0% C 0.119 H 233.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#40A7D9
RGBrgb(64, 167, 217)
HSLhsl(200, 67%, 55%)
HSVhsv(200, 71%, 85%)
CMYKcmyk(70.5%, 23%, 0%, 14.9%)
CIE-LABlab(64.75, -13.59, -33.92)
CIE-LCHlch(64.75, 36.54, 248.17°)
OKLaboklab(69.01% -0.0706 -0.0953)
OKLCHoklch(69.01% 0.119 233.5)
XYZxyz(28.4525, 33.7340, 70.6440)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A7D9 #D97240
analogous
#40D9BF #40A7D9 #405AD9
triadic
#40A7D9 #D940A7 #A7D940
tetradic
#40A7D9 #BF40D9 #D97240 #5AD940
square
#40A7D9 #BF40D9 #D97240 #5AD940
split-complementary
#40A7D9 #D9405A #D9BF40
monochromatic
#1A6284 #2487B7 #40A7D9 #73BFE3 #A6D6ED

Accessibility & contrast

On white

2.71
#40A7D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#40A7D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A7D9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A7D9#FFFFFF#000000##000000
##40A7D91.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA5DB
Deuteranopia (green-blind)
#7A96D8
Tritanopia (blue-blind)
#00B4B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40a7d9;
/* rgb */ color: rgb(64, 167, 217);
/* oklch */ color: oklch(69.0% 0.119 233.5);
Tailwind
colors: {
  custom: {
    50: '#87c1e5',
    500: '#40a7d9',
    950: '#000000',
  },
}
SCSS
$custom: #40a7d9;
$custom-light: #87c1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#40a7d9",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 217
  },
  "hsl": {
    "h": 199.608,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.69013,
    "c": 0.11863,
    "h": 233.5
  },
  "luminance": 0.33737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A7D9

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

Preview Lab → · Contrast checker → · Palette generator →

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