#4087DF#4087DF

#4087DF is a light, vivid cyan. Relative luminance 0.237; OKLCH L 62.1% C 0.151 H 255.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4087DF
RGBrgb(64, 135, 223)
HSLhsl(213, 71%, 56%)
HSVhsv(213, 71%, 87%)
CMYKcmyk(71.3%, 39.5%, 0%, 12.5%)
CIE-LABlab(55.83, 6.83, -51.29)
CIE-LCHlch(55.83, 51.74, 277.58°)
OKLaboklab(62.08% -0.0385 -0.1463)
OKLCHoklch(62.08% 0.151 255.3)
XYZxyz(24.0927, 23.7430, 73.1108)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087DF #DF9840
analogous
#40D6DF #4087DF #4940DF
triadic
#4087DF #DF4087 #87DF40
tetradic
#4087DF #DF40D6 #DF9840 #40DF49
square
#4087DF #DF40D6 #DF9840 #40DF49
split-complementary
#4087DF #DF4940 #D6DF40
monochromatic
#184C8D #2068C1 #4087DF #74A8E8 #A9C9F1

Accessibility & contrast

On white

3.65
#4087DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#4087DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087DF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087DF#FFFFFF#000000##000000
##4087DF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4087df;
/* rgb */ color: rgb(64, 135, 223);
/* oklch */ color: oklch(62.1% 0.151 255.3);
Tailwind
colors: {
  custom: {
    50: '#87a9e9',
    500: '#4087df',
    950: '#000000',
  },
}
SCSS
$custom: #4087df;
$custom-light: #87a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4087df",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 213.208,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62075,
    "c": 0.15128,
    "h": 255.3
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#4087DF
secondary
#DEC19D
accent
#9E3AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4087DF

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

Preview Lab → · Contrast checker → · Palette generator →

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