#4087DB#4087DB

#4087DB is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.146 H 254.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4087DB
RGBrgb(64, 135, 219)
HSLhsl(213, 68%, 55%)
HSVhsv(213, 71%, 86%)
CMYKcmyk(70.8%, 38.4%, 0%, 14.1%)
CIE-LABlab(55.61, 5.40, -49.39)
CIE-LCHlch(55.61, 49.69, 276.24°)
OKLaboklab(61.84% -0.0394 -0.1407)
OKLCHoklch(61.84% 0.146 254.4)
XYZxyz(23.5598, 23.5299, 70.3042)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087DB #DB9440
analogous
#40D5DB #4087DB #4640DB
triadic
#4087DB #DB4087 #87DB40
tetradic
#4087DB #DB40D5 #DB9440 #40DB46
square
#4087DB #DB40D5 #DB9440 #40DB46
split-complementary
#4087DB #DB4640 #D5DB40
monochromatic
#194C87 #2369BB #4087DB #73A7E5 #A7C8EE

Accessibility & contrast

On white

3.68
#4087DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#4087DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087DB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087DB#FFFFFF#000000##000000
##4087DB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#009BA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4087db;
/* rgb */ color: rgb(64, 135, 219);
/* oklch */ color: oklch(61.8% 0.146 254.4);
Tailwind
colors: {
  custom: {
    50: '#87a9e6',
    500: '#4087db',
    950: '#000000',
  },
}
SCSS
$custom: #4087db;
$custom-light: #87a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4087db",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 212.516,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.14615,
    "h": 254.4
  },
  "luminance": 0.23532
}

Semantic roles & 50–950 ramp

primary
#4087DB
secondary
#DCBE9B
accent
#9B3DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4087DB

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

Preview Lab → · Contrast checker → · Palette generator →

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