#4087BB#4087BB

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

Color values

HEX#4087BB
RGBrgb(64, 135, 187)
HSLhsl(205, 49%, 49%)
HSVhsv(205, 66%, 73%)
CMYKcmyk(65.8%, 27.8%, 0%, 26.7%)
CIE-LABlab(54.03, -5.73, -33.77)
CIE-LCHlch(54.03, 34.26, 260.36°)
OKLaboklab(60.08% -0.0483 -0.0952)
OKLCHoklch(60.08% 0.107 243.1)
XYZxyz(19.7446, 22.0038, 50.2107)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087BB #BB7440
analogous
#40BBB2 #4087BB #404ABB
triadic
#4087BB #BB4087 #87BB40
tetradic
#4087BB #B240BB #BB7440 #4ABB40
square
#4087BB #B240BB #BB7440 #4ABB40
split-complementary
#4087BB #BB404A #BBB240
monochromatic
#214560 #30668D #4087BB #6CA4CD #99C0DC

Accessibility & contrast

On white

3.89
#4087BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4087BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087BB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087BB#FFFFFF#000000##000000
##4087BB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4087bb;
/* rgb */ color: rgb(64, 135, 187);
/* oklch */ color: oklch(60.1% 0.107 243.1);
Tailwind
colors: {
  custom: {
    50: '#81a9cf',
    500: '#4087bb',
    950: '#000000',
  },
}
SCSS
$custom: #4087bb;
$custom-light: #81a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4087bb",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 205.366,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.10672,
    "h": 243.1
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#4087BB
secondary
#C8A78F
accent
#894FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #4087BB

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

Preview Lab → · Contrast checker → · Palette generator →

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