#4087BD#4087BD

#4087BD is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 60.2% C 0.109 H 244.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4087BD
RGBrgb(64, 135, 189)
HSLhsl(206, 49%, 50%)
HSVhsv(206, 66%, 74%)
CMYKcmyk(66.1%, 28.6%, 0%, 25.9%)
CIE-LABlab(54.12, -5.05, -34.77)
CIE-LCHlch(54.12, 35.14, 261.73°)
OKLaboklab(60.18% -0.0476 -0.0981)
OKLCHoklch(60.18% 0.109 244.1)
XYZxyz(19.9602, 22.0900, 51.3461)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087BD #BD7640
analogous
#40BDB5 #4087BD #4049BD
triadic
#4087BD #BD4087 #87BD40
tetradic
#4087BD #B540BD #BD7640 #49BD40
square
#4087BD #B540BD #BD7640 #49BD40
split-complementary
#4087BD #BD4049 #BDB540
monochromatic
#214662 #31668F #4087BD #6DA4CD #9AC0DD

Accessibility & contrast

On white

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

On black

5.42
#4087BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087BD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087BD#FFFFFF#000000##000000
##4087BD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BF
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4087bd;
/* rgb */ color: rgb(64, 135, 189);
/* oklch */ color: oklch(60.2% 0.109 244.1);
Tailwind
colors: {
  custom: {
    50: '#82a9d1',
    500: '#4087bd',
    950: '#000000',
  },
}
SCSS
$custom: #4087bd;
$custom-light: #82a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4087bd",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 205.92,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.10903,
    "h": 244.1
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#4087BD
secondary
#C9A990
accent
#8B4FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #4087BD

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

Preview Lab → · Contrast checker → · Palette generator →

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