#17337D#17337D

#17337D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.130 H 264.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#17337D
RGBrgb(23, 51, 125)
HSLhsl(224, 69%, 29%)
HSVhsv(224, 82%, 49%)
CMYKcmyk(81.6%, 59.2%, 0%, 51%)
CIE-LABlab(23.77, 18.85, -44.93)
CIE-LCHlch(23.77, 48.72, 292.75°)
OKLaboklab(34.97% -0.012 -0.1297)
OKLCHoklch(34.97% 0.13 264.7)
XYZxyz(5.2375, 4.0299, 19.8999)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17337D #7D6117
analogous
#17667D #17337D #2E177D
triadic
#17337D #7D1733 #337D17
tetradic
#17337D #7D1766 #7D6117 #177D2E
square
#17337D #7D1766 #7D6117 #177D2E
split-complementary
#17337D #7D2E17 #667D17
monochromatic
#050B1A #0D1E49 #17337D #2148B1 #3562DA

Accessibility & contrast

On white

11.63
#17337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#17337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17337D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17337D#FFFFFF#000000##FFFFFF
##17337D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17337d;
/* rgb */ color: rgb(23, 51, 125);
/* oklch */ color: oklch(35.0% 0.130 264.7);
Tailwind
colors: {
  custom: {
    50: '#666aa3',
    500: '#17337d',
    950: '#000000',
  },
}
SCSS
$custom: #17337d;
$custom-light: #666aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#17337d",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 223.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.1303,
    "h": 264.7
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#17337D
secondary
#B2923E
accent
#BC3CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17337D

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

Preview Lab → · Contrast checker → · Palette generator →

#17337D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva