#4087D2#4087D2

#4087D2 is a mid, vivid cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.135 H 252.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4087D2
RGBrgb(64, 135, 210)
HSLhsl(211, 62%, 54%)
HSVhsv(211, 70%, 82%)
CMYKcmyk(69.5%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.14, 2.23, -45.08)
CIE-LCHlch(55.14, 45.13, 272.83°)
OKLaboklab(61.32% -0.0416 -0.1281)
OKLCHoklch(61.32% 0.135 252)
XYZxyz(22.4069, 23.0687, 64.2321)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087D2 #D28B40
analogous
#40D0D2 #4087D2 #4240D2
triadic
#4087D2 #D24087 #87D240
tetradic
#4087D2 #D240D0 #D28B40 #40D242
square
#4087D2 #D240D0 #D28B40 #40D242
split-complementary
#4087D2 #D24240 #D0D240
monochromatic
#1D4B7B #2969AC #4087D2 #72A6DE #A3C5E9

Accessibility & contrast

On white

3.74
#4087D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4087D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087D2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087D2#FFFFFF#000000##000000
##4087D21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD5
Deuteranopia (green-blind)
#507ED1
Tritanopia (blue-blind)
#0099A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4087d2;
/* rgb */ color: rgb(64, 135, 210);
/* oklch */ color: oklch(61.3% 0.135 252.0);
Tailwind
colors: {
  custom: {
    50: '#85a9e0',
    500: '#4087d2',
    950: '#000000',
  },
}
SCSS
$custom: #4087d2;
$custom-light: #85a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4087d2",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 210.822,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.13469,
    "h": 252
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#4087D2
secondary
#D6B898
accent
#9643E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087D2

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

Preview Lab → · Contrast checker → · Palette generator →

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