#170E4B#170E4B

#170E4B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.106 H 280.5°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#170E4B
RGBrgb(23, 14, 75)
HSLhsl(249, 69%, 17%)
HSVhsv(249, 81%, 29%)
CMYKcmyk(69.3%, 81.3%, 0%, 70.6%)
CIE-LABlab(9.03, 24.91, -36.03)
CIE-LCHlch(9.03, 43.80, 304.66°)
OKLaboklab(22.66% 0.0193 -0.1039)
OKLCHoklch(22.66% 0.106 280.5)
XYZxyz(1.7800, 1.0041, 6.7553)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E4B #424B0E
analogous
#0E244B #170E4B #350E4B
triadic
#170E4B #4B170E #0E4B17
tetradic
#170E4B #4B0E24 #424B0E #0E4B35
square
#170E4B #4B0E24 #424B0E #0E4B35
split-complementary
#170E4B #4B350E #244B0E
monochromatic
#08051A #08051A #170E4B #27187F #3721B2

Accessibility & contrast

On white

17.49
#170E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#170E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E4B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E4B#FFFFFF#000000##FFFFFF
##170E4B1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #170e4b;
/* rgb */ color: rgb(23, 14, 75);
/* oklch */ color: oklch(22.7% 0.106 280.5);
Tailwind
colors: {
  custom: {
    50: '#5c4d7e',
    500: '#170e4b',
    950: '#000000',
  },
}
SCSS
$custom: #170e4b;
$custom-light: #5c4d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#170e4b",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 248.852,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.10572,
    "h": 280.5
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#170E4B
secondary
#79862F
accent
#EB3CD2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #170E4B

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

Preview Lab → · Contrast checker → · Palette generator →

#170E4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva