#17187D#17187D

#17187D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.162 H 270.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#17187D
RGBrgb(23, 24, 125)
HSLhsl(239, 69%, 29%)
HSVhsv(239, 82%, 49%)
CMYKcmyk(81.6%, 80.8%, 0%, 51%)
CIE-LABlab(17.06, 36.75, -55.95)
CIE-LCHlch(17.06, 66.94, 303.30°)
OKLaboklab(30.08% 0.0023 -0.162)
OKLCHoklch(30.08% 0.162 270.8)
XYZxyz(4.3804, 2.3156, 19.6142)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17187D #7D7C17
analogous
#174B7D #17187D #49177D
triadic
#17187D #7D1718 #187D17
tetradic
#17187D #7D174B #7D7C17 #177D49
square
#17187D #7D174B #7D7C17 #177D49
split-complementary
#17187D #7D4917 #4B7D17
monochromatic
#05051A #0D0E49 #17187D #2122B1 #3536DA

Accessibility & contrast

On white

14.35
#17187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17187D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17187D#FFFFFF#000000##FFFFFF
##17187D1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17187d;
/* rgb */ color: rgb(23, 24, 125);
/* oklch */ color: oklch(30.1% 0.162 270.8);
Tailwind
colors: {
  custom: {
    50: '#6957a4',
    500: '#17187d',
    950: '#000000',
  },
}
SCSS
$custom: #17187d;
$custom-light: #6957a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17187d",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 239.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30082,
    "c": 0.16202,
    "h": 270.8
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#17187D
secondary
#B2B13E
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17187D

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

Preview Lab → · Contrast checker → · Palette generator →

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