#215877#215877

#215877 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.077 H 237.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#215877
RGBrgb(33, 88, 119)
HSLhsl(202, 57%, 30%)
HSVhsv(202, 72%, 47%)
CMYKcmyk(72.3%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.27, -7.05, -22.82)
CIE-LCHlch(35.27, 23.89, 252.83°)
OKLaboklab(43.88% -0.0417 -0.0642)
OKLCHoklch(43.88% 0.077 237)
XYZxyz(7.4454, 8.6339, 18.7233)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215877 #774021
analogous
#21776B #215877 #212D77
triadic
#215877 #772158 #587721
tetradic
#215877 #6B2177 #774021 #2D7721
square
#215877 #6B2177 #774021 #2D7721
split-complementary
#215877 #77212D #776B21
monochromatic
#071218 #143547 #215877 #2E7BA7 #479CCC

Accessibility & contrast

On white

7.70
#215877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#215877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215877
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215877#FFFFFF#000000##FFFFFF
##2158771.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495878
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215877;
/* rgb */ color: rgb(33, 88, 119);
/* oklch */ color: oklch(43.9% 0.077 237.0);
Tailwind
colors: {
  custom: {
    50: '#68879e',
    500: '#215877',
    950: '#000000',
  },
}
SCSS
$custom: #215877;
$custom-light: #68879e;
$custom-dark: #000000;
JSON
{
  "hex": "#215877",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 201.628,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.07657,
    "h": 237
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#215877
secondary
#AA6C4A
accent
#7F48E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #215877

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

Preview Lab → · Contrast checker → · Palette generator →

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