#4087C8#4087C8

#4087C8 is a mid, vivid cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.122 H 248.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4087C8
RGBrgb(64, 135, 200)
HSLhsl(209, 55%, 52%)
HSVhsv(209, 68%, 78%)
CMYKcmyk(68%, 32.5%, 0%, 21.6%)
CIE-LABlab(54.64, -1.27, -40.21)
CIE-LCHlch(54.64, 40.23, 268.19°)
OKLaboklab(60.76% -0.0443 -0.1139)
OKLCHoklch(60.76% 0.122 248.7)
XYZxyz(21.1998, 22.5858, 57.8746)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C8 #C88140
analogous
#40C8C5 #4087C8 #4043C8
triadic
#4087C8 #C84087 #87C840
tetradic
#4087C8 #C540C8 #C88140 #43C840
square
#4087C8 #C540C8 #C88140 #43C840
split-complementary
#4087C8 #C84043 #C8C540
monochromatic
#20496E #2D689D #4087C8 #70A5D6 #9FC3E3

Accessibility & contrast

On white

3.81
#4087C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4087C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087C8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087C8#FFFFFF#000000##000000
##4087C81.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4087c8;
/* rgb */ color: rgb(64, 135, 200);
/* oklch */ color: oklch(60.8% 0.122 248.7);
Tailwind
colors: {
  custom: {
    50: '#83a9d9',
    500: '#4087c8',
    950: '#000000',
  },
}
SCSS
$custom: #4087c8;
$custom-light: #83a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c8",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 208.676,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.12222,
    "h": 248.7
  },
  "luminance": 0.22588
}

Semantic roles & 50–950 ramp

primary
#4087C8
secondary
#D0B194
accent
#9149DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C8

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

Preview Lab → · Contrast checker → · Palette generator →

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