#17124F#17124F

#17124F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.107 H 278.2°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#17124F
RGBrgb(23, 18, 79)
HSLhsl(245, 63%, 19%)
HSVhsv(245, 77%, 31%)
CMYKcmyk(70.9%, 77.2%, 0%, 69%)
CIE-LABlab(10.40, 23.79, -36.53)
CIE-LCHlch(10.40, 43.59, 303.07°)
OKLaboklab(23.78% 0.0152 -0.1054)
OKLCHoklch(23.78% 0.107 278.2)
XYZxyz(1.9805, 1.1791, 7.5188)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17124F #4A4F12
analogous
#122C4F #17124F #36124F
triadic
#17124F #4F1712 #124F17
tetradic
#17124F #4F122C #4A4F12 #124F36
square
#17124F #4F122C #4A4F12 #124F36
split-complementary
#17124F #4F3612 #2C4F12
monochromatic
#070619 #08071D #17124F #261D81 #3429B3

Accessibility & contrast

On white

16.99
#17124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#17124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17124F
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17124F#FFFFFF#000000##FFFFFF
##17124F1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #17124f;
/* rgb */ color: rgb(23, 18, 79);
/* oklch */ color: oklch(23.8% 0.107 278.2);
Tailwind
colors: {
  custom: {
    50: '#5d5081',
    500: '#17124f',
    950: '#000000',
  },
}
SCSS
$custom: #17124f;
$custom-light: #5d5081;
$custom-dark: #000000;
JSON
{
  "hex": "#17124f",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 244.918,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23777,
    "c": 0.10652,
    "h": 278.2
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17124F

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

Preview Lab → · Contrast checker → · Palette generator →

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