#17124A#17124A

#17124A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.099 H 279.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#17124A
RGBrgb(23, 18, 74)
HSLhsl(245, 61%, 18%)
HSVhsv(245, 76%, 29%)
CMYKcmyk(68.9%, 75.7%, 0%, 71%)
CIE-LABlab(9.87, 21.90, -33.95)
CIE-LCHlch(9.87, 40.40, 302.83°)
OKLaboklab(23.23% 0.0161 -0.0979)
OKLCHoklch(23.23% 0.099 279.3)
XYZxyz(1.8053, 1.1090, 6.5962)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17124A #454A12
analogous
#12294A #17124A #33124A
triadic
#17124A #4A1712 #124A17
tetradic
#17124A #4A1229 #454A12 #124A33
square
#17124A #4A1229 #454A12 #124A33
split-complementary
#17124A #4A3312 #294A12
monochromatic
#080619 #080619 #17124A #261E7B #362AAC

Accessibility & contrast

On white

17.19
#17124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17124A
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17124A#FFFFFF#000000##FFFFFF
##17124A1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17124a;
/* rgb */ color: rgb(23, 18, 74);
/* oklch */ color: oklch(23.2% 0.099 279.3);
Tailwind
colors: {
  custom: {
    50: '#5c507d',
    500: '#17124a',
    950: '#000000',
  },
}
SCSS
$custom: #17124a;
$custom-light: #5c507d;
$custom-dark: #000000;
JSON
{
  "hex": "#17124a",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 245.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23231,
    "c": 0.09919,
    "h": 279.3
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#17124A
secondary
#7C8335
accent
#E444D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17124A

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

Preview Lab → · Contrast checker → · Palette generator →

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