#4087D9#4087D9

#4087D9 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.144 H 253.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4087D9
RGBrgb(64, 135, 217)
HSLhsl(212, 67%, 55%)
HSVhsv(212, 71%, 85%)
CMYKcmyk(70.5%, 37.8%, 0%, 14.9%)
CIE-LABlab(55.51, 4.70, -48.44)
CIE-LCHlch(55.51, 48.66, 275.54°)
OKLaboklab(61.72% -0.0399 -0.1379)
OKLCHoklch(61.72% 0.144 253.9)
XYZxyz(23.2981, 23.4252, 68.9258)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087D9 #D99240
analogous
#40D3D9 #4087D9 #4640D9
triadic
#4087D9 #D94087 #87D940
tetradic
#4087D9 #D940D3 #D99240 #40D946
square
#4087D9 #D940D3 #D99240 #40D946
split-complementary
#4087D9 #D94640 #D3D940
monochromatic
#1A4B84 #2469B7 #4087D9 #73A7E3 #A6C7ED

Accessibility & contrast

On white

3.69
#4087D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4087D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087D9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087D9#FFFFFF#000000##000000
##4087D91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDC
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4087d9;
/* rgb */ color: rgb(64, 135, 217);
/* oklch */ color: oklch(61.7% 0.144 253.9);
Tailwind
colors: {
  custom: {
    50: '#86a9e5',
    500: '#4087d9',
    950: '#000000',
  },
}
SCSS
$custom: #4087d9;
$custom-light: #86a9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4087d9",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 212.157,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.14359,
    "h": 253.9
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#4087D9
secondary
#DABD9A
accent
#9A3EEA
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4087D9

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

Preview Lab → · Contrast checker → · Palette generator →

#4087D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva