#215787#215787

#215787 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.097 H 248.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#215787
RGBrgb(33, 87, 135)
HSLhsl(208, 61%, 33%)
HSVhsv(208, 76%, 53%)
CMYKcmyk(75.6%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.77, -0.36, -31.88)
CIE-LCHlch(35.77, 31.88, 269.35°)
OKLaboklab(44.54% -0.0353 -0.0906)
OKLCHoklch(44.54% 0.097 248.7)
XYZxyz(8.4069, 8.8880, 24.1895)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215787 #875121
analogous
#218784 #215787 #212487
triadic
#215787 #872157 #578721
tetradic
#215787 #842187 #875121 #248721
square
#215787 #842187 #875121 #248721
split-complementary
#215787 #872124 #878421
monochromatic
#091825 #153756 #215787 #2D77B8 #4F95D4

Accessibility & contrast

On white

7.56
#215787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#215787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215787
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215787#FFFFFF#000000##FFFFFF
##2157871.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#325086
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #215787;
/* rgb */ color: rgb(33, 87, 135);
/* oklch */ color: oklch(44.5% 0.097 248.7);
Tailwind
colors: {
  custom: {
    50: '#6b86aa',
    500: '#215787',
    950: '#000000',
  },
}
SCSS
$custom: #215787;
$custom-light: #6b86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#215787",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 208.235,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.0972,
    "h": 248.7
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#215787
secondary
#B77F4D
accent
#8F44E4
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #215787

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

Preview Lab → · Contrast checker → · Palette generator →

#215787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva