#17152E#17152E

#17152E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.3% C 0.048 H 285.2°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#17152E
RGBrgb(23, 21, 46)
HSLhsl(245, 37%, 13%)
HSVhsv(245, 54%, 18%)
CMYKcmyk(50%, 54.3%, 0%, 82%)
CIE-LABlab(8.27, 8.99, -16.50)
CIE-LCHlch(8.27, 18.79, 298.58°)
OKLaboklab(21.28% 0.0126 -0.0466)
OKLCHoklch(21.28% 0.048 285.2)
XYZxyz(1.1145, 0.9157, 2.7023)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17152E #2C2E15
analogous
#151F2E #17152E #23152E
triadic
#17152E #2E1715 #152E17
tetradic
#17152E #2E151F #2C2E15 #152E23
square
#17152E #2E151F #2C2E15 #152E23
split-complementary
#17152E #2E2315 #1F2E15
monochromatic
#0B0A15 #0B0A15 #17152E #2C2858 #413B82

Accessibility & contrast

On white

17.75
#17152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#17152E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17152E
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17152E#FFFFFF#000000##FFFFFF
##17152E1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C192F
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#101A1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #17152e;
/* rgb */ color: rgb(23, 21, 46);
/* oklch */ color: oklch(21.3% 0.048 285.2);
Tailwind
colors: {
  custom: {
    50: '#555267',
    500: '#17152e',
    950: '#000000',
  },
}
SCSS
$custom: #17152e;
$custom-light: #555267;
$custom-dark: #000000;
JSON
{
  "hex": "#17152e",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 244.8,
    "s": 37.313,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21275,
    "c": 0.04828,
    "h": 285.2
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#17152E
secondary
#61643B
accent
#CD5BC4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030206
muted
#78787A

Preview Lab

Preview with #17152E

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

Preview Lab → · Contrast checker → · Palette generator →

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