#17337F#17337F

#17337F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.133 H 264.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#17337F
RGBrgb(23, 51, 127)
HSLhsl(224, 69%, 29%)
HSVhsv(224, 82%, 50%)
CMYKcmyk(81.9%, 59.8%, 0%, 50.2%)
CIE-LABlab(23.94, 19.67, -45.92)
CIE-LCHlch(23.94, 49.95, 293.19°)
OKLaboklab(35.15% -0.0119 -0.1326)
OKLCHoklch(35.15% 0.133 264.9)
XYZxyz(5.3666, 4.0815, 20.5795)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17337F #7F6317
analogous
#17677F #17337F #2F177F
triadic
#17337F #7F1733 #337F17
tetradic
#17337F #7F1767 #7F6317 #177F2F
square
#17337F #7F1767 #7F6317 #177F2F
split-complementary
#17337F #7F2F17 #677F17
monochromatic
#050A1A #0E1E4B #17337F #2048B3 #3662DB

Accessibility & contrast

On white

11.56
#17337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#17337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17337F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17337F#FFFFFF#000000##FFFFFF
##17337F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17337f;
/* rgb */ color: rgb(23, 51, 127);
/* oklch */ color: oklch(35.2% 0.133 264.9);
Tailwind
colors: {
  custom: {
    50: '#676aa5',
    500: '#17337f',
    950: '#000000',
  },
}
SCSS
$custom: #17337f;
$custom-light: #676aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#17337f",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 223.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.13318,
    "h": 264.9
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#17337F
secondary
#B4943E
accent
#BD3CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17337F

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

Preview Lab → · Contrast checker → · Palette generator →

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