#21517A#21517A

#21517A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.086 H 247.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#21517A
RGBrgb(33, 81, 122)
HSLhsl(208, 57%, 30%)
HSVhsv(208, 73%, 48%)
CMYKcmyk(73%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.16, -1.52, -27.98)
CIE-LCHlch(33.16, 28.02, 266.90°)
OKLaboklab(42.26% -0.033 -0.0793)
OKLCHoklch(42.26% 0.086 247.4)
XYZxyz(7.0812, 7.6126, 19.5048)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21517A #7A4A21
analogous
#217A76 #21517A #21257A
triadic
#21517A #7A2151 #517A21
tetradic
#21517A #76217A #7A4A21 #257A21
square
#21517A #76217A #7A4A21 #257A21
split-complementary
#21517A #7A2125 #7A7621
monochromatic
#07111A #14314A #21517A #2E71AA #4890CD

Accessibility & contrast

On white

8.32
#21517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#21517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21517A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21517A#FFFFFF#000000##FFFFFF
##21517A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21517a;
/* rgb */ color: rgb(33, 81, 122);
/* oklch */ color: oklch(42.3% 0.086 247.4);
Tailwind
colors: {
  custom: {
    50: '#6881a0',
    500: '#21517a',
    950: '#000000',
  },
}
SCSS
$custom: #21517a;
$custom-light: #6881a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21517a",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 207.64,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.08589,
    "h": 247.4
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#21517A
secondary
#AD774A
accent
#8E47E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #21517A

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

Preview Lab → · Contrast checker → · Palette generator →

#21517A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva