#17368E#17368E

#17368E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.150 H 264.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#17368E
RGBrgb(23, 54, 142)
HSLhsl(224, 72%, 32%)
HSVhsv(224, 84%, 56%)
CMYKcmyk(83.8%, 62%, 0%, 44.3%)
CIE-LABlab(26.08, 23.66, -51.79)
CIE-LCHlch(26.08, 56.94, 294.55°)
OKLaboklab(37.16% -0.0134 -0.1498)
OKLCHoklch(37.16% 0.15 264.9)
XYZxyz(6.5533, 4.7727, 26.1618)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17368E #8E6F17
analogous
#17718E #17368E #34178E
triadic
#17368E #8E1736 #368E17
tetradic
#17368E #8E1771 #8E6F17 #178E34
square
#17368E #8E1771 #8E6F17 #178E34
split-complementary
#17368E #8E3417 #718E17
monochromatic
#060E25 #0E2259 #17368E #204AC3 #3F69E0

Accessibility & contrast

On white

10.74
#17368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#17368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17368E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17368E#FFFFFF#000000##FFFFFF
##17368E1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #17368e;
/* rgb */ color: rgb(23, 54, 142);
/* oklch */ color: oklch(37.2% 0.150 264.9);
Tailwind
colors: {
  custom: {
    50: '#6b6cb0',
    500: '#17368e',
    950: '#000000',
  },
}
SCSS
$custom: #17368e;
$custom-light: #6b6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#17368e",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 224.37,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37155,
    "c": 0.15042,
    "h": 264.9
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#17368E
secondary
#C09F40
accent
#BF39EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #17368E

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

Preview Lab → · Contrast checker → · Palette generator →

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