#17335E#17335E

#17335E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.4% C 0.084 H 258.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#17335E
RGBrgb(23, 51, 94)
HSLhsl(216, 61%, 23%)
HSVhsv(216, 76%, 37%)
CMYKcmyk(75.5%, 45.7%, 0%, 63.1%)
CIE-LABlab(21.42, 5.94, -28.76)
CIE-LCHlch(21.42, 29.37, 281.66°)
OKLaboklab(32.44% -0.0163 -0.0822)
OKLCHoklch(32.44% 0.084 258.8)
XYZxyz(3.5568, 3.3576, 11.0481)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17335E #5E4217
analogous
#17565E #17335E #1E175E
triadic
#17335E #5E1733 #335E17
tetradic
#17335E #5E1756 #5E4217 #175E1E
square
#17335E #5E1756 #5E4217 #175E1E
split-complementary
#17335E #5E1E17 #565E17
monochromatic
#060D19 #0B182D #17335E #234E8F #2F68C0

Accessibility & contrast

On white

12.56
#17335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17335E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17335E#FFFFFF#000000##FFFFFF
##17335E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3760
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17335e;
/* rgb */ color: rgb(23, 51, 94);
/* oklch */ color: oklch(32.4% 0.084 258.8);
Tailwind
colors: {
  custom: {
    50: '#5e6a8c',
    500: '#17335e',
    950: '#000000',
  },
}
SCSS
$custom: #17335e;
$custom-light: #5e6a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#17335e",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 216.338,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.08379,
    "h": 258.8
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#17335E
secondary
#95723C
accent
#A544E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #17335E

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

Preview Lab → · Contrast checker → · Palette generator →

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