#4087D6#4087D6

#4087D6 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.140 H 253.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4087D6
RGBrgb(64, 135, 214)
HSLhsl(212, 65%, 55%)
HSVhsv(212, 70%, 84%)
CMYKcmyk(70.1%, 36.9%, 0%, 16.1%)
CIE-LABlab(55.35, 3.63, -47.00)
CIE-LCHlch(55.35, 47.14, 274.42°)
OKLaboklab(61.55% -0.0406 -0.1337)
OKLCHoklch(61.55% 0.14 253.1)
XYZxyz(22.9114, 23.2705, 66.8895)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087D6 #D68F40
analogous
#40D2D6 #4087D6 #4440D6
triadic
#4087D6 #D64087 #87D640
tetradic
#4087D6 #D640D2 #D68F40 #40D644
square
#4087D6 #D640D2 #D68F40 #40D644
split-complementary
#4087D6 #D64440 #D2D640
monochromatic
#1B4B80 #2669B2 #4087D6 #72A7E1 #A5C6EC

Accessibility & contrast

On white

3.71
#4087D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4087D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087D6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087D6#FFFFFF#000000##000000
##4087D61.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CD9
Deuteranopia (green-blind)
#4D7ED4
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4087d6;
/* rgb */ color: rgb(64, 135, 214);
/* oklch */ color: oklch(61.5% 0.140 253.1);
Tailwind
colors: {
  custom: {
    50: '#86a9e3',
    500: '#4087d6',
    950: '#000000',
  },
}
SCSS
$custom: #4087d6;
$custom-light: #86a9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4087d6",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 214
  },
  "hsl": {
    "h": 211.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.13976,
    "h": 253.1
  },
  "luminance": 0.23273
}

Semantic roles & 50–950 ramp

primary
#4087D6
secondary
#D9BB99
accent
#9840E8
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087D6

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

Preview Lab → · Contrast checker → · Palette generator →

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