#17378E#17378E

#17378E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.149 H 264.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#17378E
RGBrgb(23, 55, 142)
HSLhsl(224, 72%, 32%)
HSVhsv(224, 84%, 56%)
CMYKcmyk(83.8%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.35, 22.97, -51.34)
CIE-LCHlch(26.35, 56.24, 294.10°)
OKLaboklab(37.36% -0.014 -0.1485)
OKLCHoklch(37.36% 0.149 264.6)
XYZxyz(6.6003, 4.8667, 26.1774)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17378E #8E6E17
analogous
#17728E #17378E #33178E
triadic
#17378E #8E1737 #378E17
tetradic
#17378E #8E1772 #8E6E17 #178E33
square
#17378E #8E1772 #8E6E17 #178E33
split-complementary
#17378E #8E3317 #728E17
monochromatic
#060E25 #0E2359 #17378E #204BC3 #3F6BE0

Accessibility & contrast

On white

10.64
#17378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#17378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17378E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17378E#FFFFFF#000000##FFFFFF
##17378E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #17378e;
/* rgb */ color: rgb(23, 55, 142);
/* oklch */ color: oklch(37.4% 0.149 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b6db0',
    500: '#17378e',
    950: '#000000',
  },
}
SCSS
$custom: #17378e;
$custom-light: #6b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#17378e",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 223.866,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3736,
    "c": 0.14915,
    "h": 264.6
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#17378E
secondary
#C09E40
accent
#BE39EF
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #17378E

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

Preview Lab → · Contrast checker → · Palette generator →

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