#170E4F#170E4F

#170E4F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.111 H 279.4°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#170E4F
RGBrgb(23, 14, 79)
HSLhsl(248, 70%, 18%)
HSVhsv(248, 82%, 31%)
CMYKcmyk(70.9%, 82.3%, 0%, 69%)
CIE-LABlab(9.49, 26.35, -38.04)
CIE-LCHlch(9.49, 46.27, 304.71°)
OKLaboklab(23.13% 0.0183 -0.1098)
OKLCHoklch(23.13% 0.111 279.4)
XYZxyz(1.9212, 1.0606, 7.4991)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E4F #464F0E
analogous
#0E254F #170E4F #370E4F
triadic
#170E4F #4F170E #0E4F17
tetradic
#170E4F #4F0E25 #464F0E #0E4F37
square
#170E4F #4F0E25 #464F0E #0E4F37
split-complementary
#170E4F #4F370E #254F0E
monochromatic
#08051A #08051B #170E4F #261783 #3520B7

Accessibility & contrast

On white

17.32
#170E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#170E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E4F
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E4F#FFFFFF#000000##FFFFFF
##170E4F1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #170e4f;
/* rgb */ color: rgb(23, 14, 79);
/* oklch */ color: oklch(23.1% 0.111 279.4);
Tailwind
colors: {
  custom: {
    50: '#5d4e81',
    500: '#170e4f',
    950: '#000000',
  },
}
SCSS
$custom: #170e4f;
$custom-light: #5d4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#170e4f",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 248.308,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23126,
    "c": 0.11132,
    "h": 279.4
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#170E4F
secondary
#7D8A2F
accent
#ED3BD4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #170E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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