#17338F#17338F

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

Color values

HEX#17338F
RGBrgb(23, 51, 143)
HSLhsl(226, 72%, 33%)
HSVhsv(226, 84%, 56%)
CMYKcmyk(83.9%, 64.3%, 0%, 43.9%)
CIE-LABlab(25.36, 26.13, -53.58)
CIE-LCHlch(25.36, 59.62, 296.00°)
OKLaboklab(36.65% -0.0116 -0.1551)
OKLCHoklch(36.65% 0.156 265.7)
XYZxyz(6.4934, 4.5322, 26.5138)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17338F #8F7317
analogous
#176F8F #17338F #37178F
triadic
#17338F #8F1733 #338F17
tetradic
#17338F #8F176F #8F7317 #178F37
square
#17338F #8F176F #8F7317 #178F37
split-complementary
#17338F #8F3717 #6F8F17
monochromatic
#060D26 #0F205A #17338F #1F46C4 #4065E0

Accessibility & contrast

On white

11.01
#17338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#17338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17338F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17338F#FFFFFF#000000##FFFFFF
##17338F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17338f;
/* rgb */ color: rgb(23, 51, 143);
/* oklch */ color: oklch(36.6% 0.156 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ab1',
    500: '#17338f',
    950: '#000000',
  },
}
SCSS
$custom: #17338f;
$custom-light: #6b6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#17338f",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 226,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.15556,
    "h": 265.7
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#17338F
secondary
#C1A341
accent
#C439EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #17338F

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

Preview Lab → · Contrast checker → · Palette generator →

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