#17378C#17378C

#17378C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.146 H 264.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#17378C
RGBrgb(23, 55, 140)
HSLhsl(224, 72%, 32%)
HSVhsv(224, 84%, 55%)
CMYKcmyk(83.6%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.18, 22.16, -50.39)
CIE-LCHlch(26.18, 55.04, 293.74°)
OKLaboklab(37.18% -0.014 -0.1457)
OKLCHoklch(37.18% 0.146 264.5)
XYZxyz(6.4515, 4.8072, 25.3937)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17378C #8C6C17
analogous
#17728C #17378C #32178C
triadic
#17378C #8C1737 #378C17
tetradic
#17378C #8C1772 #8C6C17 #178C32
square
#17378C #8C1772 #8C6C17 #178C32
split-complementary
#17378C #8C3217 #728C17
monochromatic
#060E23 #0E2257 #17378C #204CC1 #3E6ADF

Accessibility & contrast

On white

10.71
#17378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#17378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17378C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17378C#FFFFFF#000000##FFFFFF
##17378C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #17378c;
/* rgb */ color: rgb(23, 55, 140);
/* oklch */ color: oklch(37.2% 0.146 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a6dae',
    500: '#17378c',
    950: '#000000',
  },
}
SCSS
$custom: #17378c;
$custom-light: #6a6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#17378c",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 223.59,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37177,
    "c": 0.14637,
    "h": 264.5
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#17378C
secondary
#BF9C3F
accent
#BD39EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #17378C

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

Preview Lab → · Contrast checker → · Palette generator →

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