#17338B#17338B

#17338B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.150 H 265.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#17338B
RGBrgb(23, 51, 139)
HSLhsl(226, 72%, 32%)
HSVhsv(226, 83%, 55%)
CMYKcmyk(83.5%, 63.3%, 0%, 45.5%)
CIE-LABlab(24.99, 24.53, -51.70)
CIE-LCHlch(24.99, 57.23, 295.38°)
OKLaboklab(36.27% -0.0116 -0.1496)
OKLCHoklch(36.27% 0.15 265.6)
XYZxyz(6.1957, 4.4132, 24.9464)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17338B #8B6F17
analogous
#176D8B #17338B #35178B
triadic
#17338B #8B1733 #338B17
tetradic
#17338B #8B176D #8B6F17 #178B35
square
#17338B #8B176D #8B6F17 #178B35
split-complementary
#17338B #8B3517 #6D8B17
monochromatic
#060C22 #0E2056 #17338B #2046C0 #3D64DF

Accessibility & contrast

On white

11.15
#17338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#17338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17338B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17338B#FFFFFF#000000##FFFFFF
##17338B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #17338b;
/* rgb */ color: rgb(23, 51, 139);
/* oklch */ color: oklch(36.3% 0.150 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a6aae',
    500: '#17338b',
    950: '#000000',
  },
}
SCSS
$custom: #17338b;
$custom-light: #6a6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#17338b",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 225.517,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36266,
    "c": 0.15006,
    "h": 265.6
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#17338B
secondary
#BFA03F
accent
#C339EE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #17338B

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

Preview Lab → · Contrast checker → · Palette generator →

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