#17213F#17213F

#17213F is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.058 H 268.2°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#17213F
RGBrgb(23, 33, 63)
HSLhsl(225, 47%, 17%)
HSVhsv(225, 63%, 25%)
CMYKcmyk(63.5%, 47.6%, 0%, 75.3%)
CIE-LABlab(13.40, 6.39, -20.55)
CIE-LCHlch(13.40, 21.52, 287.28°)
OKLaboklab(25.57% -0.0018 -0.0584)
OKLCHoklch(25.57% 0.058 268.2)
XYZxyz(1.7941, 1.6286, 4.9215)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17213F #3F3517
analogous
#17353F #17213F #21173F
triadic
#17213F #3F1721 #213F17
tetradic
#17213F #3F1735 #3F3517 #173F21
square
#17213F #3F1735 #3F3517 #173F21
split-complementary
#17213F #3F2117 #353F17
monochromatic
#080C16 #080C16 #17213F #27386C #385099

Accessibility & contrast

On white

15.84
#17213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#17213F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17213F
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17213F#FFFFFF#000000##FFFFFF
##17213F1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#0F213E
Tritanopia (blue-blind)
#02282C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17213f;
/* rgb */ color: rgb(23, 33, 63);
/* oklch */ color: oklch(25.6% 0.058 268.2);
Tailwind
colors: {
  custom: {
    50: '#585b74',
    500: '#17213f',
    950: '#000000',
  },
}
SCSS
$custom: #17213f;
$custom-light: #585b74;
$custom-dark: #000000;
JSON
{
  "hex": "#17213f",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 225,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25574,
    "c": 0.05839,
    "h": 268.2
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#17213F
secondary
#76673C
accent
#B552D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #17213F

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

Preview Lab → · Contrast checker → · Palette generator →

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