#4087CE#4087CE

#4087CE is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.130 H 250.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4087CE
RGBrgb(64, 135, 206)
HSLhsl(210, 59%, 53%)
HSVhsv(210, 69%, 81%)
CMYKcmyk(68.9%, 34.5%, 0%, 19.2%)
CIE-LABlab(54.94, 0.82, -43.14)
CIE-LCHlch(54.94, 43.15, 271.09°)
OKLaboklab(61.09% -0.0427 -0.1224)
OKLCHoklch(61.09% 0.13 250.8)
XYZxyz(21.9148, 22.8718, 61.6403)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087CE #CE8740
analogous
#40CECE #4087CE #4040CE
triadic
#4087CE #CE4087 #87CE40
tetradic
#4087CE #CE40CE #CE8740 #40CE40
square
#4087CE #CE40CE #CE8740 #40CE40
split-complementary
#4087CE #CE4040 #CECE40
monochromatic
#1E4A75 #2B68A6 #4087CE #71A6DA #A1C4E7

Accessibility & contrast

On white

3.77
#4087CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4087CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087CE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087CE#FFFFFF#000000##000000
##4087CE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#537DCD
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4087ce;
/* rgb */ color: rgb(64, 135, 206);
/* oklch */ color: oklch(61.1% 0.130 250.8);
Tailwind
colors: {
  custom: {
    50: '#84a9dd',
    500: '#4087ce',
    950: '#000000',
  },
}
SCSS
$custom: #4087ce;
$custom-light: #84a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4087ce",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 210,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.12966,
    "h": 250.8
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#4087CE
secondary
#D4B596
accent
#9445E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087CE

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

Preview Lab → · Contrast checker → · Palette generator →

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