#17337E#17337E

#17337E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.132 H 264.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#17337E
RGBrgb(23, 51, 126)
HSLhsl(224, 69%, 29%)
HSVhsv(224, 82%, 49%)
CMYKcmyk(81.7%, 59.5%, 0%, 50.6%)
CIE-LABlab(23.85, 19.26, -45.42)
CIE-LCHlch(23.85, 49.34, 292.97°)
OKLaboklab(35.06% -0.012 -0.1312)
OKLCHoklch(35.06% 0.132 264.8)
XYZxyz(5.3017, 4.0556, 20.2380)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17337E #7E6217
analogous
#17677E #17337E #2E177E
triadic
#17337E #7E1733 #337E17
tetradic
#17337E #7E1767 #7E6217 #177E2E
square
#17337E #7E1767 #7E6217 #177E2E
split-complementary
#17337E #7E2E17 #677E17
monochromatic
#050A1A #0E1E4A #17337E #2048B2 #3562DA

Accessibility & contrast

On white

11.59
#17337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17337E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17337E#FFFFFF#000000##FFFFFF
##17337E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17337e;
/* rgb */ color: rgb(23, 51, 126);
/* oklch */ color: oklch(35.1% 0.132 264.8);
Tailwind
colors: {
  custom: {
    50: '#676aa4',
    500: '#17337e',
    950: '#000000',
  },
}
SCSS
$custom: #17337e;
$custom-light: #676aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#17337e",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 223.689,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.13174,
    "h": 264.8
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17337E

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

Preview Lab → · Contrast checker → · Palette generator →

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