#4087CA#4087CA

#4087CA is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.125 H 249.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4087CA
RGBrgb(64, 135, 202)
HSLhsl(209, 57%, 52%)
HSVhsv(209, 68%, 79%)
CMYKcmyk(68.3%, 33.2%, 0%, 20.8%)
CIE-LABlab(54.74, -0.57, -41.19)
CIE-LCHlch(54.74, 41.19, 269.20°)
OKLaboklab(60.87% -0.0438 -0.1167)
OKLCHoklch(60.87% 0.125 249.4)
XYZxyz(21.4350, 22.6799, 59.1137)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087CA #CA8340
analogous
#40CAC8 #4087CA #4042CA
triadic
#4087CA #CA4087 #87CA40
tetradic
#4087CA #C840CA #CA8340 #42CA40
square
#4087CA #C840CA #CA8340 #42CA40
split-complementary
#4087CA #CA4042 #CAC840
monochromatic
#1F4970 #2C68A0 #4087CA #70A5D7 #A0C3E5

Accessibility & contrast

On white

3.79
#4087CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4087CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087CA#FFFFFF#000000##000000
##4087CA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4087ca;
/* rgb */ color: rgb(64, 135, 202);
/* oklch */ color: oklch(60.9% 0.125 249.4);
Tailwind
colors: {
  custom: {
    50: '#84a9da',
    500: '#4087ca',
    950: '#000000',
  },
}
SCSS
$custom: #4087ca;
$custom-light: #84a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4087ca",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 209.13,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.12468,
    "h": 249.4
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#4087CA
secondary
#D1B295
accent
#9248E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4087CA

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

Preview Lab → · Contrast checker → · Palette generator →

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