#4087D1#4087D1

#4087D1 is a mid, vivid cyan. Relative luminance 0.230; OKLCH L 61.3% C 0.133 H 251.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4087D1
RGBrgb(64, 135, 209)
HSLhsl(211, 61%, 54%)
HSVhsv(211, 69%, 82%)
CMYKcmyk(69.4%, 35.4%, 0%, 18%)
CIE-LABlab(55.09, 1.87, -44.59)
CIE-LCHlch(55.09, 44.63, 272.41°)
OKLaboklab(61.26% -0.0419 -0.1267)
OKLCHoklch(61.26% 0.133 251.7)
XYZxyz(22.2827, 23.0190, 63.5780)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087D1 #D18A40
analogous
#40CFD1 #4087D1 #4140D1
triadic
#4087D1 #D14087 #87D140
tetradic
#4087D1 #D140CF #D18A40 #40D141
square
#4087D1 #D140CF #D18A40 #40D141
split-complementary
#4087D1 #D14140 #CFD140
monochromatic
#1D4A79 #2969AB #4087D1 #71A6DD #A3C5E9

Accessibility & contrast

On white

3.75
#4087D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#4087D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087D1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087D1#FFFFFF#000000##000000
##4087D11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD4
Deuteranopia (green-blind)
#517ED0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4087d1;
/* rgb */ color: rgb(64, 135, 209);
/* oklch */ color: oklch(61.3% 0.133 251.7);
Tailwind
colors: {
  custom: {
    50: '#85a9df',
    500: '#4087d1',
    950: '#000000',
  },
}
SCSS
$custom: #4087d1;
$custom-light: #85a9df;
$custom-dark: #000000;
JSON
{
  "hex": "#4087d1",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 209
  },
  "hsl": {
    "h": 210.621,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.13343,
    "h": 251.7
  },
  "luminance": 0.23021
}

Semantic roles & 50–950 ramp

primary
#4087D1
secondary
#D5B797
accent
#9644E4
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087D1

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

Preview Lab → · Contrast checker → · Palette generator →

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