#21559D#21559D

#21559D is a mid, vivid cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.130 H 257.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#21559D
RGBrgb(33, 85, 157)
HSLhsl(215, 65%, 37%)
HSVhsv(215, 79%, 62%)
CMYKcmyk(79%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.47, 9.57, -44.09)
CIE-LCHlch(36.47, 45.11, 282.24°)
OKLaboklab(45.51% -0.0281 -0.1264)
OKLCHoklch(45.51% 0.13 257.5)
XYZxyz(9.9593, 9.2535, 33.1530)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21559D #9D6921
analogous
#21939D #21559D #2B219D
triadic
#21559D #9D2155 #559D21
tetradic
#21559D #9D2193 #9D6921 #219D2B
square
#21559D #9D2193 #9D6921 #219D2B
split-complementary
#21559D #9D2B21 #939D21
monochromatic
#0C1E38 #163A6A #21559D #2C70D0 #5C92DD

Accessibility & contrast

On white

7.37
#21559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#21559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21559D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21559D#FFFFFF#000000##FFFFFF
##21559D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21559d;
/* rgb */ color: rgb(33, 85, 157);
/* oklch */ color: oklch(45.5% 0.130 257.5);
Tailwind
colors: {
  custom: {
    50: '#7084ba',
    500: '#21559d',
    950: '#000000',
  },
}
SCSS
$custom: #21559d;
$custom-light: #7084ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21559d",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 214.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.12951,
    "h": 257.5
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#21559D
secondary
#C19559
accent
#A240E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21559D

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

Preview Lab → · Contrast checker → · Palette generator →

#21559D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva