#17153F#17153F

#17153F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.078 H 280.4°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#17153F
RGBrgb(23, 21, 63)
HSLhsl(243, 50%, 16%)
HSVhsv(243, 67%, 25%)
CMYKcmyk(63.5%, 66.7%, 0%, 75.3%)
CIE-LABlab(9.62, 15.50, -26.63)
CIE-LCHlch(9.62, 30.81, 300.20°)
OKLaboklab(22.72% 0.014 -0.0764)
OKLCHoklch(22.72% 0.078 280.4)
XYZxyz(1.5184, 1.0773, 4.8296)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17153F #3D3F15
analogous
#15283F #17153F #2C153F
triadic
#17153F #3F1715 #153F17
tetradic
#17153F #3F1528 #3D3F15 #153F2C
square
#17153F #3F1528 #3D3F15 #153F2C
split-complementary
#17153F #3F2C15 #283F15
monochromatic
#080817 #080817 #17153F #28246D #39349B

Accessibility & contrast

On white

17.28
#17153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#17153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17153F
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17153F#FFFFFF#000000##FFFFFF
##17153F1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#041F27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17153f;
/* rgb */ color: rgb(23, 21, 63);
/* oklch */ color: oklch(22.7% 0.078 280.4);
Tailwind
colors: {
  custom: {
    50: '#595274',
    500: '#17153f',
    950: '#000000',
  },
}
SCSS
$custom: #17153f;
$custom-light: #595274;
$custom-dark: #000000;
JSON
{
  "hex": "#17153f",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 242.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22718,
    "c": 0.07763,
    "h": 280.4
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#17153F
secondary
#747739
accent
#DA4ED3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #17153F

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

Preview Lab → · Contrast checker → · Palette generator →

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