#17183D#17183D

#17183D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.069 H 278.4°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#17183D
RGBrgb(23, 24, 61)
HSLhsl(238, 45%, 16%)
HSVhsv(238, 62%, 24%)
CMYKcmyk(62.3%, 60.7%, 0%, 76.1%)
CIE-LABlab(10.35, 12.44, -24.02)
CIE-LCHlch(10.35, 27.05, 297.38°)
OKLaboklab(23.21% 0.0101 -0.0687)
OKLCHoklch(23.21% 0.069 278.4)
XYZxyz(1.5220, 1.1723, 4.5600)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17183D #3D3C17
analogous
#172B3D #17183D #29173D
triadic
#17183D #3D1718 #183D17
tetradic
#17183D #3D172B #3D3C17 #173D29
square
#17183D #3D172B #3D3C17 #173D29
split-complementary
#17183D #3D2917 #2B3D17
monochromatic
#080916 #080916 #17183D #282969 #393B96

Accessibility & contrast

On white

17.01
#17183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#17183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17183D
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17183D#FFFFFF#000000##FFFFFF
##17183D1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#011B3C
Tritanopia (blue-blind)
#062027
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #17183d;
/* rgb */ color: rgb(23, 24, 61);
/* oklch */ color: oklch(23.2% 0.069 278.4);
Tailwind
colors: {
  custom: {
    50: '#585473',
    500: '#17183d',
    950: '#000000',
  },
}
SCSS
$custom: #17183d;
$custom-light: #585473;
$custom-dark: #000000;
JSON
{
  "hex": "#17183d",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 238.421,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23208,
    "c": 0.06941,
    "h": 278.4
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#17183D
secondary
#74723C
accent
#D253D5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #17183D

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

Preview Lab → · Contrast checker → · Palette generator →

#17183D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva