#4087CD#4087CD

#4087CD is a mid, vivid cyan. Relative luminance 0.228; OKLCH L 61.0% C 0.128 H 250.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4087CD
RGBrgb(64, 135, 205)
HSLhsl(210, 59%, 53%)
HSVhsv(210, 69%, 80%)
CMYKcmyk(68.8%, 34.1%, 0%, 19.6%)
CIE-LABlab(54.89, 0.47, -42.65)
CIE-LCHlch(54.89, 42.66, 270.63°)
OKLaboklab(61.04% -0.043 -0.121)
OKLCHoklch(61.04% 0.128 250.5)
XYZxyz(21.7937, 22.8234, 61.0026)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087CD #CD8640
analogous
#40CDCC #4087CD #4041CD
triadic
#4087CD #CD4087 #87CD40
tetradic
#4087CD #CC40CD #CD8640 #41CD40
square
#4087CD #CC40CD #CD8640 #41CD40
split-complementary
#4087CD #CD4041 #CDCC40
monochromatic
#1E4A74 #2B68A5 #4087CD #71A5DA #A1C4E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4087CD#FFFFFF#000000##000000
##4087CD1.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)
#688BD0
Deuteranopia (green-blind)
#547DCC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4087cd;
/* rgb */ color: rgb(64, 135, 205);
/* oklch */ color: oklch(61.0% 0.128 250.5);
Tailwind
colors: {
  custom: {
    50: '#84a9dc',
    500: '#4087cd',
    950: '#000000',
  },
}
SCSS
$custom: #4087cd;
$custom-light: #84a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4087cd",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 209.787,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.12841,
    "h": 250.5
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#4087CD
secondary
#D3B496
accent
#9346E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087CD

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

Preview Lab → · Contrast checker → · Palette generator →

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