#17336C#17336C

#17336C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.105 H 262.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#17336C
RGBrgb(23, 51, 108)
HSLhsl(220, 65%, 26%)
HSVhsv(220, 79%, 42%)
CMYKcmyk(78.7%, 52.8%, 0%, 57.6%)
CIE-LABlab(22.42, 11.78, -36.28)
CIE-LCHlch(22.42, 38.14, 288.00°)
OKLaboklab(33.52% -0.0137 -0.1043)
OKLCHoklch(33.52% 0.105 262.5)
XYZxyz(4.2430, 3.6321, 14.6619)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17336C #6C5017
analogous
#175D6C #17336C #25176C
triadic
#17336C #6C1733 #336C17
tetradic
#17336C #6C175D #6C5017 #176C25
square
#17336C #6C175D #6C5017 #176C25
split-complementary
#17336C #6C2517 #5D6C17
monochromatic
#050C19 #0C1B3A #17336C #224B9E #2C63D1

Accessibility & contrast

On white

12.16
#17336C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#17336C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17336C
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17336C#FFFFFF#000000##FFFFFF
##17336C1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113A6E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #17336c;
/* rgb */ color: rgb(23, 51, 108);
/* oklch */ color: oklch(33.5% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#626a96',
    500: '#17336c',
    950: '#000000',
  },
}
SCSS
$custom: #17336c;
$custom-light: #626a96;
$custom-dark: #000000;
JSON
{
  "hex": "#17336c",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 220.235,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33518,
    "c": 0.10519,
    "h": 262.5
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#17336C
secondary
#A2813D
accent
#B140E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17336C

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

Preview Lab → · Contrast checker → · Palette generator →

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