#17335B#17335B

#17335B is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.079 H 257.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#17335B
RGBrgb(23, 51, 91)
HSLhsl(215, 60%, 22%)
HSVhsv(215, 75%, 36%)
CMYKcmyk(74.7%, 44%, 0%, 64.3%)
CIE-LABlab(21.23, 4.69, -27.10)
CIE-LCHlch(21.23, 27.51, 279.82°)
OKLaboklab(32.22% -0.017 -0.0773)
OKLCHoklch(32.22% 0.079 257.6)
XYZxyz(3.4248, 3.3048, 10.3529)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17335B #5B3F17
analogous
#17555B #17335B #1D175B
triadic
#17335B #5B1733 #335B17
tetradic
#17335B #5B1755 #5B3F17 #175B1D
square
#17335B #5B1755 #5B3F17 #175B1D
split-complementary
#17335B #5B1D17 #555B17
monochromatic
#060E18 #0B182A #17335B #234E8C #306ABD

Accessibility & contrast

On white

12.64
#17335B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#17335B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17335B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17335B#FFFFFF#000000##FFFFFF
##17335B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20365D
Deuteranopia (green-blind)
#16305A
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17335b;
/* rgb */ color: rgb(23, 51, 91);
/* oklch */ color: oklch(32.2% 0.079 257.6);
Tailwind
colors: {
  custom: {
    50: '#5d6a89',
    500: '#17335b',
    950: '#000000',
  },
}
SCSS
$custom: #17335b;
$custom-light: #5d6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#17335b",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 215.294,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32219,
    "c": 0.07916,
    "h": 257.6
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#17335B
secondary
#926E3C
accent
#A245E3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #17335B

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

Preview Lab → · Contrast checker → · Palette generator →

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