#4087BC#4087BC

#4087BC is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.1% C 0.108 H 243.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4087BC
RGBrgb(64, 135, 188)
HSLhsl(206, 49%, 49%)
HSVhsv(206, 66%, 74%)
CMYKcmyk(66%, 28.2%, 0%, 26.3%)
CIE-LABlab(54.08, -5.39, -34.27)
CIE-LCHlch(54.08, 34.70, 261.06°)
OKLaboklab(60.13% -0.048 -0.0966)
OKLCHoklch(60.13% 0.108 243.6)
XYZxyz(19.8520, 22.0467, 50.7764)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087BC #BC7540
analogous
#40BCB3 #4087BC #4049BC
triadic
#4087BC #BC4087 #87BC40
tetradic
#4087BC #B340BC #BC7540 #49BC40
square
#4087BC #B340BC #BC7540 #49BC40
split-complementary
#4087BC #BC4049 #BCB340
monochromatic
#214561 #30668E #4087BC #6CA4CD #9AC0DD

Accessibility & contrast

On white

3.88
#4087BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4087BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087BC#FFFFFF#000000##000000
##4087BC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4087bc;
/* rgb */ color: rgb(64, 135, 188);
/* oklch */ color: oklch(60.1% 0.108 243.6);
Tailwind
colors: {
  custom: {
    50: '#82a9d0',
    500: '#4087bc',
    950: '#000000',
  },
}
SCSS
$custom: #4087bc;
$custom-light: #82a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4087bc",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 205.645,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.10788,
    "h": 243.6
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#4087BC
secondary
#C9A88F
accent
#8A4FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #4087BC

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

Preview Lab → · Contrast checker → · Palette generator →

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