#17154A#17154A

#17154A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.095 H 278.0°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#17154A
RGBrgb(23, 21, 74)
HSLhsl(242, 56%, 19%)
HSVhsv(242, 72%, 29%)
CMYKcmyk(68.9%, 71.6%, 0%, 71%)
CIE-LABlab(10.65, 19.79, -32.67)
CIE-LCHlch(10.65, 38.20, 301.21°)
OKLaboklab(23.8% 0.0133 -0.0941)
OKLCHoklch(23.8% 0.095 278)
XYZxyz(1.8571, 1.2128, 6.6135)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17154A #484A15
analogous
#152D4A #17154A #31154A
triadic
#17154A #4A1715 #154A17
tetradic
#17154A #4A152D #484A15 #154A31
square
#17154A #4A152D #484A15 #154A31
split-complementary
#17154A #4A3115 #2D4A15
monochromatic
#070718 #08071A #17154A #26237A #3530A9

Accessibility & contrast

On white

16.90
#17154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#17154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17154A
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17154A#FFFFFF#000000##FFFFFF
##17154A1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #17154a;
/* rgb */ color: rgb(23, 21, 74);
/* oklch */ color: oklch(23.8% 0.095 278.0);
Tailwind
colors: {
  custom: {
    50: '#5b527d',
    500: '#17154a',
    950: '#000000',
  },
}
SCSS
$custom: #17154a;
$custom-light: #5b527d;
$custom-dark: #000000;
JSON
{
  "hex": "#17154a",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 242.264,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23797,
    "c": 0.09504,
    "h": 278
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#17154A
secondary
#7F8239
accent
#DF49D9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17154A

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

Preview Lab → · Contrast checker → · Palette generator →

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