#17387C#17387C

#17387C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.0% C 0.122 H 262.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#17387C
RGBrgb(23, 56, 124)
HSLhsl(220, 69%, 29%)
HSVhsv(220, 81%, 49%)
CMYKcmyk(81.5%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.15, 14.88, -42.05)
CIE-LCHlch(25.15, 44.61, 289.49°)
OKLaboklab(35.99% -0.0159 -0.1212)
OKLCHoklch(35.99% 0.122 262.5)
XYZxyz(5.4043, 4.4651, 19.6419)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17387C #7C5B17
analogous
#176B7C #17387C #29177C
triadic
#17387C #7C1738 #387C17
tetradic
#17387C #7C176B #7C5B17 #177C29
square
#17387C #7C176B #7C5B17 #177C29
split-complementary
#17387C #7C2917 #6B7C17
monochromatic
#050C1A #0D2148 #17387C #214FB0 #346AD9

Accessibility & contrast

On white

11.09
#17387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#17387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17387C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17387C#FFFFFF#000000##FFFFFF
##17387C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05417E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17387c;
/* rgb */ color: rgb(23, 56, 124);
/* oklch */ color: oklch(36.0% 0.122 262.5);
Tailwind
colors: {
  custom: {
    50: '#666ea2',
    500: '#17387c',
    950: '#000000',
  },
}
SCSS
$custom: #17387c;
$custom-light: #666ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#17387c",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 220.396,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35992,
    "c": 0.12223,
    "h": 262.5
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#17387C
secondary
#B18B3E
accent
#B23CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #17387C

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

Preview Lab → · Contrast checker → · Palette generator →

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