#17337C#17337C

#17337C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.129 H 264.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#17337C
RGBrgb(23, 51, 124)
HSLhsl(223, 69%, 29%)
HSVhsv(223, 81%, 49%)
CMYKcmyk(81.5%, 58.9%, 0%, 51.4%)
CIE-LABlab(23.69, 18.44, -44.44)
CIE-LCHlch(23.69, 48.11, 292.53°)
OKLaboklab(34.88% -0.0121 -0.1283)
OKLCHoklch(34.88% 0.129 264.6)
XYZxyz(5.1740, 4.0044, 19.5651)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17337C #7C6017
analogous
#17667C #17337C #2E177C
triadic
#17337C #7C1733 #337C17
tetradic
#17337C #7C1766 #7C6017 #177C2E
square
#17337C #7C1766 #7C6017 #177C2E
split-complementary
#17337C #7C2E17 #667C17
monochromatic
#050B1A #0D1E48 #17337C #2148B0 #3462D9

Accessibility & contrast

On white

11.66
#17337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17337C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17337C#FFFFFF#000000##FFFFFF
##17337C1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #17337c;
/* rgb */ color: rgb(23, 51, 124);
/* oklch */ color: oklch(34.9% 0.129 264.6);
Tailwind
colors: {
  custom: {
    50: '#666aa3',
    500: '#17337c',
    950: '#000000',
  },
}
SCSS
$custom: #17337c;
$custom-light: #666aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#17337c",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 223.366,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34883,
    "c": 0.12885,
    "h": 264.6
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#17337C
secondary
#B1913E
accent
#BB3CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #17337C

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

Preview Lab → · Contrast checker → · Palette generator →

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