#17336B#17336B

#17336B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.104 H 262.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#17336B
RGBrgb(23, 51, 107)
HSLhsl(220, 65%, 25%)
HSVhsv(220, 79%, 42%)
CMYKcmyk(78.5%, 52.3%, 0%, 58%)
CIE-LABlab(22.34, 11.37, -35.75)
CIE-LCHlch(22.34, 37.52, 287.64°)
OKLaboklab(33.44% -0.0139 -0.1027)
OKLCHoklch(33.44% 0.104 262.3)
XYZxyz(4.1901, 3.6109, 14.3832)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17336B #6B4F17
analogous
#175D6B #17336B #25176B
triadic
#17336B #6B1733 #336B17
tetradic
#17336B #6B175D #6B4F17 #176B25
square
#17336B #6B175D #6B4F17 #176B25
split-complementary
#17336B #6B2517 #5D6B17
monochromatic
#050C19 #0C1B39 #17336B #224B9D #2D63D0

Accessibility & contrast

On white

12.19
#17336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#17336B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17336B
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17336B#FFFFFF#000000##FFFFFF
##17336B1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17336b;
/* rgb */ color: rgb(23, 51, 107);
/* oklch */ color: oklch(33.4% 0.104 262.3);
Tailwind
colors: {
  custom: {
    50: '#616a96',
    500: '#17336b',
    950: '#000000',
  },
}
SCSS
$custom: #17336b;
$custom-light: #616a96;
$custom-dark: #000000;
JSON
{
  "hex": "#17336b",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 220,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33437,
    "c": 0.10368,
    "h": 262.3
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#17336B
secondary
#A1803D
accent
#B040E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #17336B

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

Preview Lab → · Contrast checker → · Palette generator →

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