#17337A#17337A

#17337A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.7% C 0.126 H 264.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#17337A
RGBrgb(23, 51, 122)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 48%)
CMYKcmyk(81.1%, 58.2%, 0%, 52.2%)
CIE-LABlab(23.52, 17.61, -43.44)
CIE-LCHlch(23.52, 46.87, 292.07°)
OKLaboklab(34.71% -0.0122 -0.1254)
OKLCHoklch(34.71% 0.126 264.4)
XYZxyz(5.0488, 3.9544, 18.9058)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17337A #7A5E17
analogous
#17647A #17337A #2C177A
triadic
#17337A #7A1733 #337A17
tetradic
#17337A #7A1764 #7A5E17 #177A2C
square
#17337A #7A1764 #7A5E17 #177A2C
split-complementary
#17337A #7A2C17 #647A17
monochromatic
#050B1A #0D1D47 #17337A #2149AD #3362D9

Accessibility & contrast

On white

11.73
#17337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#17337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17337A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17337A#FFFFFF#000000##FFFFFF
##17337A1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #17337a;
/* rgb */ color: rgb(23, 51, 122);
/* oklch */ color: oklch(34.7% 0.126 264.4);
Tailwind
colors: {
  custom: {
    50: '#656aa1',
    500: '#17337a',
    950: '#000000',
  },
}
SCSS
$custom: #17337a;
$custom-light: #656aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#17337a",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 223.03,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34705,
    "c": 0.12596,
    "h": 264.4
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#17337A
secondary
#AF8F3E
accent
#BA3DEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17337A

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

Preview Lab → · Contrast checker → · Palette generator →

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