#17338D#17338D

#17338D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.153 H 265.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#17338D
RGBrgb(23, 51, 141)
HSLhsl(226, 72%, 32%)
HSVhsv(226, 84%, 55%)
CMYKcmyk(83.7%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.17, 25.34, -52.65)
CIE-LCHlch(25.17, 58.43, 295.70°)
OKLaboklab(36.46% -0.0116 -0.1524)
OKLCHoklch(36.46% 0.153 265.6)
XYZxyz(6.3432, 4.4721, 25.7230)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17338D #8D7117
analogous
#176E8D #17338D #36178D
triadic
#17338D #8D1733 #338D17
tetradic
#17338D #8D176E #8D7117 #178D36
square
#17338D #8D176E #8D7117 #178D36
split-complementary
#17338D #8D3617 #6E8D17
monochromatic
#060D24 #0E2058 #17338D #2046C2 #3F65E0

Accessibility & contrast

On white

11.08
#17338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#17338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17338D
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17338D#FFFFFF#000000##FFFFFF
##17338D1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17338d;
/* rgb */ color: rgb(23, 51, 141);
/* oklch */ color: oklch(36.5% 0.153 265.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aaf',
    500: '#17338d',
    950: '#000000',
  },
}
SCSS
$custom: #17338d;
$custom-light: #6b6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#17338d",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 225.763,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36457,
    "c": 0.15281,
    "h": 265.6
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#17338D
secondary
#C0A240
accent
#C439EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #17338D

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

Preview Lab → · Contrast checker → · Palette generator →

#17338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva