#215979#215979

#215979 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.078 H 237.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#215979
RGBrgb(33, 89, 121)
HSLhsl(202, 57%, 30%)
HSVhsv(202, 73%, 47%)
CMYKcmyk(72.7%, 26.4%, 0%, 52.5%)
CIE-LABlab(35.69, -6.93, -23.40)
CIE-LCHlch(35.69, 24.41, 253.51°)
OKLaboklab(44.24% -0.042 -0.0659)
OKLCHoklch(44.24% 0.078 237.5)
XYZxyz(7.6494, 8.8477, 19.3901)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215979 #794121
analogous
#21796D #215979 #212D79
triadic
#215979 #792159 #597921
tetradic
#215979 #6D2179 #794121 #2D7921
square
#215979 #6D2179 #794121 #2D7921
split-complementary
#215979 #79212D #796D21
monochromatic
#071219 #143649 #215979 #2E7CA9 #479CCD

Accessibility & contrast

On white

7.58
#215979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#215979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215979
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215979#FFFFFF#000000##FFFFFF
##2159791.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #215979;
/* rgb */ color: rgb(33, 89, 121);
/* oklch */ color: oklch(44.2% 0.078 237.5);
Tailwind
colors: {
  custom: {
    50: '#6887a0',
    500: '#215979',
    950: '#000000',
  },
}
SCSS
$custom: #215979;
$custom-light: #6887a0;
$custom-dark: #000000;
JSON
{
  "hex": "#215979",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 201.818,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44239,
    "c": 0.07816,
    "h": 237.5
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#215979
secondary
#AC6D4A
accent
#7F47E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #215979

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

Preview Lab → · Contrast checker → · Palette generator →

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