#215879#215879

#215879 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.079 H 238.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#215879
RGBrgb(33, 88, 121)
HSLhsl(203, 57%, 30%)
HSVhsv(203, 73%, 47%)
CMYKcmyk(72.7%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.37, -6.31, -23.91)
CIE-LCHlch(35.37, 24.73, 255.22°)
OKLaboklab(43.98% -0.0409 -0.0674)
OKLCHoklch(43.98% 0.079 238.7)
XYZxyz(7.5668, 8.6824, 19.3625)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215879 #794221
analogous
#21796E #215879 #212C79
triadic
#215879 #792158 #587921
tetradic
#215879 #6E2179 #794221 #2C7921
square
#215879 #6E2179 #794221 #2C7921
split-complementary
#215879 #79212C #796E21
monochromatic
#071219 #143549 #215879 #2E7BA9 #479BCD

Accessibility & contrast

On white

7.67
#215879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#215879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215879
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215879#FFFFFF#000000##FFFFFF
##2158791.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215879;
/* rgb */ color: rgb(33, 88, 121);
/* oklch */ color: oklch(44.0% 0.079 238.7);
Tailwind
colors: {
  custom: {
    50: '#6887a0',
    500: '#215879',
    950: '#000000',
  },
}
SCSS
$custom: #215879;
$custom-light: #6887a0;
$custom-dark: #000000;
JSON
{
  "hex": "#215879",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 202.5,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43982,
    "c": 0.07883,
    "h": 238.7
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#215879
secondary
#AC6F4A
accent
#8147E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #215879

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

Preview Lab → · Contrast checker → · Palette generator →

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