#4087CF#4087CF

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

Color values

HEX#4087CF
RGBrgb(64, 135, 207)
HSLhsl(210, 60%, 53%)
HSVhsv(210, 69%, 81%)
CMYKcmyk(69.1%, 34.8%, 0%, 18.8%)
CIE-LABlab(54.99, 1.17, -43.62)
CIE-LCHlch(54.99, 43.64, 271.54°)
OKLaboklab(61.15% -0.0424 -0.1238)
OKLCHoklch(61.15% 0.131 251.1)
XYZxyz(22.0366, 22.9206, 62.2821)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087CF #CF8840
analogous
#40CECF #4087CF #4040CF
triadic
#4087CF #CF4087 #87CF40
tetradic
#4087CF #CF40CE #CF8840 #40CF40
square
#4087CF #CF40CE #CF8840 #40CF40
split-complementary
#4087CF #CF4040 #CECF40
monochromatic
#1E4A77 #2A68A8 #4087CF #71A6DB #A2C4E8

Accessibility & contrast

On white

3.76
#4087CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4087CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087CF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087CF#FFFFFF#000000##000000
##4087CF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#527ECE
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4087cf;
/* rgb */ color: rgb(64, 135, 207);
/* oklch */ color: oklch(61.1% 0.131 251.1);
Tailwind
colors: {
  custom: {
    50: '#85a9de',
    500: '#4087cf',
    950: '#000000',
  },
}
SCSS
$custom: #4087cf;
$custom-light: #85a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4087cf",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 210.21,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.13091,
    "h": 251.1
  },
  "luminance": 0.22923
}

Semantic roles & 50–950 ramp

primary
#4087CF
secondary
#D4B697
accent
#9445E3
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087CF

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

Preview Lab → · Contrast checker → · Palette generator →

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