#17338E#17338E

#17338E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.154 H 265.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#17338E
RGBrgb(23, 51, 142)
HSLhsl(226, 72%, 32%)
HSVhsv(226, 84%, 56%)
CMYKcmyk(83.8%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.27, 25.73, -53.12)
CIE-LCHlch(25.27, 59.02, 295.85°)
OKLaboklab(36.55% -0.0116 -0.1537)
OKLCHoklch(36.55% 0.154 265.7)
XYZxyz(6.4179, 4.5020, 26.1167)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17338E #8E7217
analogous
#176F8E #17338E #36178E
triadic
#17338E #8E1733 #338E17
tetradic
#17338E #8E176F #8E7217 #178E36
square
#17338E #8E176F #8E7217 #178E36
split-complementary
#17338E #8E3617 #6F8E17
monochromatic
#060D25 #0E2059 #17338E #2046C3 #3F65E0

Accessibility & contrast

On white

11.05
#17338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#17338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17338E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17338E#FFFFFF#000000##FFFFFF
##17338E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17338e;
/* rgb */ color: rgb(23, 51, 142);
/* oklch */ color: oklch(36.6% 0.154 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ab0',
    500: '#17338e',
    950: '#000000',
  },
}
SCSS
$custom: #17338e;
$custom-light: #6b6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#17338e",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 225.882,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.15419,
    "h": 265.7
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#17338E
secondary
#C0A240
accent
#C439EF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #17338E

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

Preview Lab → · Contrast checker → · Palette generator →

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