#15174E#15174E

#15174E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.099 H 274.7°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#15174E
RGBrgb(21, 23, 78)
HSLhsl(238, 58%, 19%)
HSVhsv(238, 73%, 31%)
CMYKcmyk(73.1%, 70.5%, 0%, 69.4%)
CIE-LABlab(11.43, 19.59, -34.17)
CIE-LCHlch(11.43, 39.38, 299.82°)
OKLaboklab(24.45% 0.0081 -0.0986)
OKLCHoklch(24.45% 0.099 274.7)
XYZxyz(1.9903, 1.3221, 7.3566)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15174E #4E4C15
analogous
#15344E #15174E #30154E
triadic
#15174E #4E1517 #174E15
tetradic
#15174E #4E1534 #4E4C15 #154E30
square
#15174E #4E1534 #4E4C15 #154E30
split-complementary
#15174E #4E3015 #344E15
monochromatic
#060718 #08091E #15174E #22257E #2F33AE

Accessibility & contrast

On white

16.61
#15174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#15174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15174E
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15174E#FFFFFF#000000##FFFFFF
##15174E1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #15174e;
/* rgb */ color: rgb(21, 23, 78);
/* oklch */ color: oklch(24.4% 0.099 274.7);
Tailwind
colors: {
  custom: {
    50: '#5b5480',
    500: '#15174e',
    950: '#000000',
  },
}
SCSS
$custom: #15174e;
$custom-light: #5b5480;
$custom-dark: #000000;
JSON
{
  "hex": "#15174e",
  "rgb": {
    "r": 21,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 237.895,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24445,
    "c": 0.0989,
    "h": 274.7
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#15174E
secondary
#868339
accent
#DB47E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #15174E

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

Preview Lab → · Contrast checker → · Palette generator →

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