#17124E#17124E

#17124E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.105 H 278.4°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#17124E
RGBrgb(23, 18, 78)
HSLhsl(245, 63%, 19%)
HSVhsv(245, 77%, 31%)
CMYKcmyk(70.5%, 76.9%, 0%, 69.4%)
CIE-LABlab(10.29, 23.41, -36.02)
CIE-LCHlch(10.29, 42.96, 303.02°)
OKLaboklab(23.67% 0.0154 -0.1039)
OKLCHoklch(23.67% 0.105 278.4)
XYZxyz(1.9444, 1.1647, 7.3286)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17124E #494E12
analogous
#122B4E #17124E #35124E
triadic
#17124E #4E1712 #124E17
tetradic
#17124E #4E122B #494E12 #124E35
square
#17124E #4E122B #494E12 #124E35
split-complementary
#17124E #4E3512 #2B4E12
monochromatic
#070619 #08071C #17124E #261D80 #3429B1

Accessibility & contrast

On white

17.03
#17124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17124E
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17124E#FFFFFF#000000##FFFFFF
##17124E1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #17124e;
/* rgb */ color: rgb(23, 18, 78);
/* oklch */ color: oklch(23.7% 0.105 278.4);
Tailwind
colors: {
  custom: {
    50: '#5d5080',
    500: '#17124e',
    950: '#000000',
  },
}
SCSS
$custom: #17124e;
$custom-light: #5d5080;
$custom-dark: #000000;
JSON
{
  "hex": "#17124e",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 245,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23666,
    "c": 0.10507,
    "h": 278.4
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#17124E
secondary
#808735
accent
#E642D8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #17124E

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

Preview Lab → · Contrast checker → · Palette generator →

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