#17337B#17337B

#17337B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.127 H 264.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#17337B
RGBrgb(23, 51, 123)
HSLhsl(223, 68%, 29%)
HSVhsv(223, 81%, 48%)
CMYKcmyk(81.3%, 58.5%, 0%, 51.8%)
CIE-LABlab(23.60, 18.02, -43.94)
CIE-LCHlch(23.60, 47.49, 292.30°)
OKLaboklab(34.79% -0.0122 -0.1268)
OKLCHoklch(34.79% 0.127 264.5)
XYZxyz(5.1111, 3.9793, 19.2338)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17337B #7B5F17
analogous
#17657B #17337B #2D177B
triadic
#17337B #7B1733 #337B17
tetradic
#17337B #7B1765 #7B5F17 #177B2D
square
#17337B #7B1765 #7B5F17 #177B2D
split-complementary
#17337B #7B2D17 #657B17
monochromatic
#050B1A #0D1E47 #17337B #2148AF #3362D9

Accessibility & contrast

On white

11.69
#17337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#17337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17337B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17337B#FFFFFF#000000##FFFFFF
##17337B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #17337b;
/* rgb */ color: rgb(23, 51, 123);
/* oklch */ color: oklch(34.8% 0.127 264.5);
Tailwind
colors: {
  custom: {
    50: '#666aa2',
    500: '#17337b',
    950: '#000000',
  },
}
SCSS
$custom: #17337b;
$custom-light: #666aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#17337b",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 223.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34794,
    "c": 0.1274,
    "h": 264.5
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#17337B
secondary
#B0903E
accent
#BA3CEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17337B

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

Preview Lab → · Contrast checker → · Palette generator →

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