#4087DD#4087DD

#4087DD is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 62.0% C 0.149 H 254.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4087DD
RGBrgb(64, 135, 221)
HSLhsl(213, 70%, 56%)
HSVhsv(213, 71%, 87%)
CMYKcmyk(71%, 38.9%, 0%, 13.3%)
CIE-LABlab(55.72, 6.11, -50.34)
CIE-LCHlch(55.72, 50.71, 276.93°)
OKLaboklab(61.96% -0.039 -0.1435)
OKLCHoklch(61.96% 0.149 254.8)
XYZxyz(23.8247, 23.6358, 71.6991)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087DD #DD9640
analogous
#40D6DD #4087DD #4740DD
triadic
#4087DD #DD4087 #87DD40
tetradic
#4087DD #DD40D6 #DD9640 #40DD47
square
#4087DD #DD40D6 #DD9640 #40DD47
split-complementary
#4087DD #DD4740 #D6DD40
monochromatic
#194C8A #2268BE #4087DD #74A8E6 #A8C8EF

Accessibility & contrast

On white

3.67
#4087DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4087DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087DD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087DD#FFFFFF#000000##000000
##4087DD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4087dd;
/* rgb */ color: rgb(64, 135, 221);
/* oklch */ color: oklch(62.0% 0.149 254.8);
Tailwind
colors: {
  custom: {
    50: '#87a9e8',
    500: '#4087dd',
    950: '#000000',
  },
}
SCSS
$custom: #4087dd;
$custom-light: #87a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4087dd",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 212.866,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.14871,
    "h": 254.8
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#4087DD
secondary
#DDC09C
accent
#9C3BED
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4087DD

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

Preview Lab → · Contrast checker → · Palette generator →

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