#4087D8#4087D8

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

Color values

HEX#4087D8
RGBrgb(64, 135, 216)
HSLhsl(212, 66%, 55%)
HSVhsv(212, 70%, 85%)
CMYKcmyk(70.4%, 37.5%, 0%, 15.3%)
CIE-LABlab(55.45, 4.34, -47.96)
CIE-LCHlch(55.45, 48.16, 275.17°)
OKLaboklab(61.66% -0.0401 -0.1365)
OKLCHoklch(61.66% 0.142 253.6)
XYZxyz(23.1684, 23.3733, 68.2429)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087D8 #D89140
analogous
#40D3D8 #4087D8 #4540D8
triadic
#4087D8 #D84087 #87D840
tetradic
#4087D8 #D840D3 #D89140 #40D845
square
#4087D8 #D840D3 #D89140 #40D845
split-complementary
#4087D8 #D84540 #D3D840
monochromatic
#1B4B83 #2569B6 #4087D8 #73A7E2 #A6C7ED

Accessibility & contrast

On white

3.70
#4087D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#4087D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087D8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087D8#FFFFFF#000000##000000
##4087D81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDB
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4087d8;
/* rgb */ color: rgb(64, 135, 216);
/* oklch */ color: oklch(61.7% 0.142 253.6);
Tailwind
colors: {
  custom: {
    50: '#86a9e4',
    500: '#4087d8',
    950: '#000000',
  },
}
SCSS
$custom: #4087d8;
$custom-light: #86a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4087d8",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 211.974,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.14231,
    "h": 253.6
  },
  "luminance": 0.23376
}

Semantic roles & 50–950 ramp

primary
#4087D8
secondary
#DABC9A
accent
#9A3FE9
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F15
muted
#7D7F84

Preview Lab

Preview with #4087D8

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

Preview Lab → · Contrast checker → · Palette generator →

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