#17124C#17124C

#17124C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.102 H 278.9°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#17124C
RGBrgb(23, 18, 76)
HSLhsl(245, 62%, 18%)
HSVhsv(245, 76%, 30%)
CMYKcmyk(69.7%, 76.3%, 0%, 70.2%)
CIE-LABlab(10.08, 22.66, -34.99)
CIE-LCHlch(10.08, 41.69, 302.92°)
OKLaboklab(23.45% 0.0158 -0.1009)
OKLCHoklch(23.45% 0.102 278.9)
XYZxyz(1.8737, 1.1364, 6.9567)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17124C #474C12
analogous
#122A4C #17124C #34124C
triadic
#17124C #4C1712 #124C17
tetradic
#17124C #4C122A #474C12 #124C34
square
#17124C #4C122A #474C12 #124C34
split-complementary
#17124C #4C3412 #2A4C12
monochromatic
#070619 #08061B #17124C #261E7D #3529AF

Accessibility & contrast

On white

17.11
#17124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#17124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17124C
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17124C#FFFFFF#000000##FFFFFF
##17124C1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #17124c;
/* rgb */ color: rgb(23, 18, 76);
/* oklch */ color: oklch(23.4% 0.102 278.9);
Tailwind
colors: {
  custom: {
    50: '#5c507f',
    500: '#17124c',
    950: '#000000',
  },
}
SCSS
$custom: #17124c;
$custom-light: #5c507f;
$custom-dark: #000000;
JSON
{
  "hex": "#17124c",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 245.172,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23447,
    "c": 0.10214,
    "h": 278.9
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17124C

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

Preview Lab → · Contrast checker → · Palette generator →

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