#17154E#17154E

#17154E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.101 H 277.3°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#17154E
RGBrgb(23, 21, 78)
HSLhsl(242, 58%, 19%)
HSVhsv(242, 73%, 31%)
CMYKcmyk(70.5%, 73.1%, 0%, 69.4%)
CIE-LABlab(11.05, 21.34, -34.78)
CIE-LCHlch(11.05, 40.80, 301.54°)
OKLaboklab(24.21% 0.0128 -0.1003)
OKLCHoklch(24.21% 0.101 277.3)
XYZxyz(1.9962, 1.2684, 7.3459)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17154E #4C4E15
analogous
#15304E #17154E #34154E
triadic
#17154E #4E1715 #154E17
tetradic
#17154E #4E1530 #4C4E15 #154E34
square
#17154E #4E1530 #4C4E15 #154E34
split-complementary
#17154E #4E3415 #304E15
monochromatic
#070618 #09081E #17154E #25227E #332FAE

Accessibility & contrast

On white

16.75
#17154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17154E
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17154E#FFFFFF#000000##FFFFFF
##17154E1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #17154e;
/* rgb */ color: rgb(23, 21, 78);
/* oklch */ color: oklch(24.2% 0.101 277.3);
Tailwind
colors: {
  custom: {
    50: '#5c5280',
    500: '#17154e',
    950: '#000000',
  },
}
SCSS
$custom: #17154e;
$custom-light: #5c5280;
$custom-dark: #000000;
JSON
{
  "hex": "#17154e",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 242.105,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24212,
    "c": 0.10111,
    "h": 277.3
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#17154E
secondary
#838639
accent
#E147DB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17154E

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

Preview Lab → · Contrast checker → · Palette generator →

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