#17213E#17213E

#17213E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.5% C 0.057 H 267.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#17213E
RGBrgb(23, 33, 62)
HSLhsl(225, 46%, 17%)
HSVhsv(225, 63%, 24%)
CMYKcmyk(62.9%, 46.8%, 0%, 75.7%)
CIE-LABlab(13.34, 5.99, -19.95)
CIE-LCHlch(13.34, 20.83, 286.71°)
OKLaboklab(25.5% -0.0021 -0.0566)
OKLCHoklch(25.5% 0.057 267.9)
XYZxyz(1.7664, 1.6175, 4.7756)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17213E #3E3417
analogous
#17353E #17213E #21173E
triadic
#17213E #3E1721 #213E17
tetradic
#17213E #3E1735 #3E3417 #173E21
square
#17213E #3E1735 #3E3417 #173E21
split-complementary
#17213E #3E2117 #353E17
monochromatic
#080C16 #080C16 #17213E #28396B #385197

Accessibility & contrast

On white

15.87
#17213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17213E
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17213E#FFFFFF#000000##FFFFFF
##17213E1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243F
Deuteranopia (green-blind)
#10213D
Tritanopia (blue-blind)
#03272C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17213e;
/* rgb */ color: rgb(23, 33, 62);
/* oklch */ color: oklch(25.5% 0.057 267.9);
Tailwind
colors: {
  custom: {
    50: '#585b73',
    500: '#17213e',
    950: '#000000',
  },
}
SCSS
$custom: #17213e;
$custom-light: #585b73;
$custom-dark: #000000;
JSON
{
  "hex": "#17213e",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 224.615,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25501,
    "c": 0.05666,
    "h": 267.9
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#17213E
secondary
#75663C
accent
#B452D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #17213E

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

Preview Lab → · Contrast checker → · Palette generator →

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