#17335F#17335F

#17335F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.085 H 259.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#17335F
RGBrgb(23, 51, 95)
HSLhsl(217, 61%, 23%)
HSVhsv(217, 76%, 37%)
CMYKcmyk(75.8%, 46.3%, 0%, 62.7%)
CIE-LABlab(21.49, 6.35, -29.31)
CIE-LCHlch(21.49, 29.99, 282.23°)
OKLaboklab(32.51% -0.0161 -0.0838)
OKLCHoklch(32.51% 0.085 259.2)
XYZxyz(3.6020, 3.3757, 11.2860)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17335F #5F4317
analogous
#17575F #17335F #1F175F
triadic
#17335F #5F1733 #335F17
tetradic
#17335F #5F1757 #5F4317 #175F1F
square
#17335F #5F1757 #5F4317 #175F1F
split-complementary
#17335F #5F1F17 #575F17
monochromatic
#060D19 #0B192E #17335F #234D90 #2F68C2

Accessibility & contrast

On white

12.54
#17335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#17335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17335F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17335F#FFFFFF#000000##FFFFFF
##17335F1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3761
Deuteranopia (green-blind)
#11305E
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #17335f;
/* rgb */ color: rgb(23, 51, 95);
/* oklch */ color: oklch(32.5% 0.085 259.2);
Tailwind
colors: {
  custom: {
    50: '#5e6a8d',
    500: '#17335f',
    950: '#000000',
  },
}
SCSS
$custom: #17335f;
$custom-light: #5e6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17335f",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 216.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32509,
    "c": 0.08533,
    "h": 259.2
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#17335F
secondary
#96733C
accent
#A644E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17335F

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

Preview Lab → · Contrast checker → · Palette generator →

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