#4087D5#4087D5

#4087D5 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.138 H 252.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4087D5
RGBrgb(64, 135, 213)
HSLhsl(211, 64%, 54%)
HSVhsv(211, 70%, 84%)
CMYKcmyk(70%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.30, 3.28, -46.52)
CIE-LCHlch(55.30, 46.64, 274.04°)
OKLaboklab(61.49% -0.0409 -0.1323)
OKLCHoklch(61.49% 0.138 252.8)
XYZxyz(22.7841, 23.2196, 66.2189)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087D5 #D58E40
analogous
#40D2D5 #4087D5 #4440D5
triadic
#4087D5 #D54087 #87D540
tetradic
#4087D5 #D540D2 #D58E40 #40D544
square
#4087D5 #D540D2 #D58E40 #40D544
split-complementary
#4087D5 #D54440 #D2D540
monochromatic
#1C4B7F #2769B1 #4087D5 #72A7E0 #A4C6EB

Accessibility & contrast

On white

3.72
#4087D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4087D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087D5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087D5#FFFFFF#000000##000000
##4087D51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD8
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4087d5;
/* rgb */ color: rgb(64, 135, 213);
/* oklch */ color: oklch(61.5% 0.138 252.8);
Tailwind
colors: {
  custom: {
    50: '#86a9e2',
    500: '#4087d5',
    950: '#000000',
  },
}
SCSS
$custom: #4087d5;
$custom-light: #86a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4087d5",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 211.409,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.13849,
    "h": 252.8
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#4087D5
secondary
#D8BA99
accent
#9841E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087D5

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

Preview Lab → · Contrast checker → · Palette generator →

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