#17335D#17335D

#17335D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.082 H 258.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#17335D
RGBrgb(23, 51, 93)
HSLhsl(216, 60%, 23%)
HSVhsv(216, 75%, 36%)
CMYKcmyk(75.3%, 45.2%, 0%, 63.5%)
CIE-LABlab(21.36, 5.52, -28.21)
CIE-LCHlch(21.36, 28.75, 281.07°)
OKLaboklab(32.36% -0.0165 -0.0806)
OKLCHoklch(32.36% 0.082 258.4)
XYZxyz(3.5122, 3.3398, 10.8133)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17335D #5D4117
analogous
#17565D #17335D #1E175D
triadic
#17335D #5D1733 #335D17
tetradic
#17335D #5D1756 #5D4117 #175D1E
square
#17335D #5D1756 #5D4117 #175D1E
split-complementary
#17335D #5D1E17 #565D17
monochromatic
#060D19 #0B182C #17335D #234E8E #2F69BF

Accessibility & contrast

On white

12.59
#17335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#17335D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17335D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17335D#FFFFFF#000000##FFFFFF
##17335D1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F375F
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17335d;
/* rgb */ color: rgb(23, 51, 93);
/* oklch */ color: oklch(32.4% 0.082 258.4);
Tailwind
colors: {
  custom: {
    50: '#5e6a8b',
    500: '#17335d',
    950: '#000000',
  },
}
SCSS
$custom: #17335d;
$custom-light: #5e6a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17335d",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 216,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.08224,
    "h": 258.4
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#17335D
secondary
#94713C
accent
#A444E3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17335D

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

Preview Lab → · Contrast checker → · Palette generator →

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