#17124B#17124B

#17124B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.101 H 279.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#17124B
RGBrgb(23, 18, 75)
HSLhsl(245, 61%, 18%)
HSVhsv(245, 76%, 29%)
CMYKcmyk(69.3%, 76%, 0%, 70.6%)
CIE-LABlab(9.97, 22.28, -34.47)
CIE-LCHlch(9.97, 41.04, 302.88°)
OKLaboklab(23.34% 0.0159 -0.0994)
OKLCHoklch(23.34% 0.101 279.1)
XYZxyz(1.8392, 1.1226, 6.7750)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17124B #464B12
analogous
#12294B #17124B #33124B
triadic
#17124B #4B1712 #124B17
tetradic
#17124B #4B1229 #464B12 #124B33
square
#17124B #4B1229 #464B12 #124B33
split-complementary
#17124B #4B3312 #294B12
monochromatic
#080619 #08061A #17124B #261E7C #352AAE

Accessibility & contrast

On white

17.15
#17124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#17124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17124B
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17124B#FFFFFF#000000##FFFFFF
##17124B1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17124b;
/* rgb */ color: rgb(23, 18, 75);
/* oklch */ color: oklch(23.3% 0.101 279.1);
Tailwind
colors: {
  custom: {
    50: '#5c507e',
    500: '#17124b',
    950: '#000000',
  },
}
SCSS
$custom: #17124b;
$custom-light: #5c507e;
$custom-dark: #000000;
JSON
{
  "hex": "#17124b",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 245.263,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23338,
    "c": 0.10067,
    "h": 279.1
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#17124B
secondary
#7D8435
accent
#E443D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17124B

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

Preview Lab → · Contrast checker → · Palette generator →

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