#4087C2#4087C2

#4087C2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.4% C 0.115 H 246.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4087C2
RGBrgb(64, 135, 194)
HSLhsl(207, 52%, 51%)
HSVhsv(207, 67%, 76%)
CMYKcmyk(67%, 30.4%, 0%, 23.9%)
CIE-LABlab(54.36, -3.34, -37.26)
CIE-LCHlch(54.36, 37.41, 264.87°)
OKLaboklab(60.44% -0.0461 -0.1053)
OKLCHoklch(60.44% 0.115 246.3)
XYZxyz(20.5123, 22.3108, 54.2539)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C2 #C27B40
analogous
#40C2BC #4087C2 #4046C2
triadic
#4087C2 #C24087 #87C240
tetradic
#4087C2 #BC40C2 #C27B40 #46C240
square
#4087C2 #BC40C2 #C27B40 #46C240
split-complementary
#4087C2 #C24046 #C2BC40
monochromatic
#214767 #306795 #4087C2 #6EA4D1 #9DC1E0

Accessibility & contrast

On white

3.84
#4087C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4087C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087C2#FFFFFF#000000##000000
##4087C21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#5B7CC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4087c2;
/* rgb */ color: rgb(64, 135, 194);
/* oklch */ color: oklch(60.4% 0.115 246.3);
Tailwind
colors: {
  custom: {
    50: '#82a9d4',
    500: '#4087c2',
    950: '#000000',
  },
}
SCSS
$custom: #4087c2;
$custom-light: #82a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c2",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 207.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.11493,
    "h": 246.3
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#4087C2
secondary
#CCAC92
accent
#8D4DDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C2

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

Preview Lab → · Contrast checker → · Palette generator →

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