#17387E#17387E

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

Color values

HEX#17387E
RGBrgb(23, 56, 126)
HSLhsl(221, 69%, 29%)
HSVhsv(221, 82%, 49%)
CMYKcmyk(81.7%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.31, 15.71, -43.06)
CIE-LCHlch(25.31, 45.84, 290.05°)
OKLaboklab(36.16% -0.0157 -0.1241)
OKLCHoklch(36.16% 0.125 262.8)
XYZxyz(5.5321, 4.5162, 20.3148)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17387E #7E5D17
analogous
#176C7E #17387E #2A177E
triadic
#17387E #7E1738 #387E17
tetradic
#17387E #7E176C #7E5D17 #177E2A
square
#17387E #7E176C #7E5D17 #177E2A
split-complementary
#17387E #7E2A17 #6C7E17
monochromatic
#050C1A #0E214A #17387E #204FB2 #356ADA

Accessibility & contrast

On white

11.03
#17387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17387E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17387E#FFFFFF#000000##FFFFFF
##17387E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17387e;
/* rgb */ color: rgb(23, 56, 126);
/* oklch */ color: oklch(36.2% 0.125 262.8);
Tailwind
colors: {
  custom: {
    50: '#666ea4',
    500: '#17387e',
    950: '#000000',
  },
}
SCSS
$custom: #17387e;
$custom-light: #666ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#17387e",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 220.777,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.12514,
    "h": 262.8
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17387E

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

Preview Lab → · Contrast checker → · Palette generator →

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