#17154B#17154B

#17154B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.097 H 277.8°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#17154B
RGBrgb(23, 21, 75)
HSLhsl(242, 56%, 19%)
HSVhsv(242, 72%, 29%)
CMYKcmyk(69.3%, 72%, 0%, 70.6%)
CIE-LABlab(10.75, 20.18, -33.20)
CIE-LCHlch(10.75, 38.85, 301.30°)
OKLaboklab(23.9% 0.0132 -0.0957)
OKLCHoklch(23.9% 0.097 277.8)
XYZxyz(1.8911, 1.2263, 6.7923)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17154B #494B15
analogous
#152E4B #17154B #32154B
triadic
#17154B #4B1715 #154B17
tetradic
#17154B #4B152E #494B15 #154B32
square
#17154B #4B152E #494B15 #154B32
split-complementary
#17154B #4B3215 #2E4B15
monochromatic
#070718 #08081B #17154B #26227B #3430AB

Accessibility & contrast

On white

16.86
#17154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#17154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17154B
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17154B#FFFFFF#000000##FFFFFF
##17154B1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17154b;
/* rgb */ color: rgb(23, 21, 75);
/* oklch */ color: oklch(23.9% 0.097 277.8);
Tailwind
colors: {
  custom: {
    50: '#5c527e',
    500: '#17154b',
    950: '#000000',
  },
}
SCSS
$custom: #17154b;
$custom-light: #5c527e;
$custom-dark: #000000;
JSON
{
  "hex": "#17154b",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 242.222,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.239,
    "c": 0.09657,
    "h": 277.8
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#17154B
secondary
#808339
accent
#E048DA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17154B

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

Preview Lab → · Contrast checker → · Palette generator →

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