#17387F#17387F

#17387F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.127 H 262.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#17387F
RGBrgb(23, 56, 127)
HSLhsl(221, 69%, 29%)
HSVhsv(221, 82%, 50%)
CMYKcmyk(81.9%, 55.9%, 0%, 50.2%)
CIE-LABlab(25.39, 16.13, -43.56)
CIE-LCHlch(25.39, 46.45, 290.31°)
OKLaboklab(36.24% -0.0156 -0.1256)
OKLCHoklch(36.24% 0.127 262.9)
XYZxyz(5.5969, 4.5422, 20.6563)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17387F #7F5E17
analogous
#176C7F #17387F #2A177F
triadic
#17387F #7F1738 #387F17
tetradic
#17387F #7F176C #7F5E17 #177F2A
square
#17387F #7F176C #7F5E17 #177F2A
split-complementary
#17387F #7F2A17 #6C7F17
monochromatic
#050B1A #0E214B #17387F #204FB3 #366ADB

Accessibility & contrast

On white

11.00
#17387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#17387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17387F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17387F#FFFFFF#000000##FFFFFF
##17387F1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17387f;
/* rgb */ color: rgb(23, 56, 127);
/* oklch */ color: oklch(36.2% 0.127 262.9);
Tailwind
colors: {
  custom: {
    50: '#666ea5',
    500: '#17387f',
    950: '#000000',
  },
}
SCSS
$custom: #17387f;
$custom-light: #666ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#17387f",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 220.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36245,
    "c": 0.12659,
    "h": 262.9
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#17387F
secondary
#B48E3E
accent
#B43CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #17387F

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

Preview Lab → · Contrast checker → · Palette generator →

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