#17387D#17387D

#17387D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.124 H 262.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#17387D
RGBrgb(23, 56, 125)
HSLhsl(221, 69%, 29%)
HSVhsv(221, 82%, 49%)
CMYKcmyk(81.6%, 55.2%, 0%, 51%)
CIE-LABlab(25.23, 15.30, -42.56)
CIE-LCHlch(25.23, 45.22, 289.77°)
OKLaboklab(36.08% -0.0158 -0.1227)
OKLCHoklch(36.08% 0.124 262.7)
XYZxyz(5.4679, 4.4905, 19.9766)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17387D #7D5C17
analogous
#176B7D #17387D #29177D
triadic
#17387D #7D1738 #387D17
tetradic
#17387D #7D176B #7D5C17 #177D29
square
#17387D #7D176B #7D5C17 #177D29
split-complementary
#17387D #7D2917 #6B7D17
monochromatic
#050C1A #0D2149 #17387D #214FB1 #356ADA

Accessibility & contrast

On white

11.06
#17387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#17387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17387D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17387D#FFFFFF#000000##FFFFFF
##17387D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03417F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17387d;
/* rgb */ color: rgb(23, 56, 125);
/* oklch */ color: oklch(36.1% 0.124 262.7);
Tailwind
colors: {
  custom: {
    50: '#666ea3',
    500: '#17387d',
    950: '#000000',
  },
}
SCSS
$custom: #17387d;
$custom-light: #666ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#17387d",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 220.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36076,
    "c": 0.12369,
    "h": 262.7
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#17387D
secondary
#B28C3E
accent
#B33CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #17387D

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

Preview Lab → · Contrast checker → · Palette generator →

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