#17213A#17213A

#17213A is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.2% C 0.050 H 266.4°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#17213A
RGBrgb(23, 33, 58)
HSLhsl(223, 43%, 16%)
HSVhsv(223, 60%, 23%)
CMYKcmyk(60.3%, 43.1%, 0%, 77.3%)
CIE-LABlab(13.08, 4.41, -17.54)
CIE-LCHlch(13.08, 18.09, 284.10°)
OKLaboklab(25.22% -0.0031 -0.0496)
OKLCHoklch(25.22% 0.05 266.4)
XYZxyz(1.6607, 1.5752, 4.2187)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17213A #3A3017
analogous
#17323A #17213A #1E173A
triadic
#17213A #3A1721 #213A17
tetradic
#17213A #3A1732 #3A3017 #173A1E
square
#17213A #3A1732 #3A3017 #173A1E
split-complementary
#17213A #3A1E17 #323A17
monochromatic
#090C16 #090C16 #17213A #283A66 #3A5392

Accessibility & contrast

On white

15.97
#17213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#17213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17213A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17213A#FFFFFF#000000##FFFFFF
##17213A1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#132039
Tritanopia (blue-blind)
#07262A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17213a;
/* rgb */ color: rgb(23, 33, 58);
/* oklch */ color: oklch(25.2% 0.050 266.4);
Tailwind
colors: {
  custom: {
    50: '#575b70',
    500: '#17213a',
    950: '#000000',
  },
}
SCSS
$custom: #17213a;
$custom-light: #575b70;
$custom-dark: #000000;
JSON
{
  "hex": "#17213a",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 222.857,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25217,
    "c": 0.04967,
    "h": 266.4
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#17213A
secondary
#71623C
accent
#AF55D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #17213A

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

Preview Lab → · Contrast checker → · Palette generator →

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