#17335A#17335A

#17335A is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.1% C 0.078 H 257.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#17335A
RGBrgb(23, 51, 90)
HSLhsl(215, 59%, 22%)
HSVhsv(215, 74%, 35%)
CMYKcmyk(74.4%, 43.3%, 0%, 64.7%)
CIE-LABlab(21.16, 4.28, -26.55)
CIE-LCHlch(21.16, 26.89, 279.16°)
OKLaboklab(32.15% -0.0172 -0.0757)
OKLCHoklch(32.15% 0.078 257.2)
XYZxyz(3.3820, 3.2876, 10.1272)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17335A #5A3E17
analogous
#17555A #17335A #1C175A
triadic
#17335A #5A1733 #335A17
tetradic
#17335A #5A1755 #5A3E17 #175A1C
square
#17335A #5A1755 #5A3E17 #175A1C
split-complementary
#17335A #5A1C17 #555A17
monochromatic
#060E18 #0B1729 #17335A #234F8B #306ABB

Accessibility & contrast

On white

12.67
#17335A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17335A
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17335A#FFFFFF#000000##FFFFFF
##17335A1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365C
Deuteranopia (green-blind)
#173059
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17335a;
/* rgb */ color: rgb(23, 51, 90);
/* oklch */ color: oklch(32.1% 0.078 257.2);
Tailwind
colors: {
  custom: {
    50: '#5d6a89',
    500: '#17335a',
    950: '#000000',
  },
}
SCSS
$custom: #17335a;
$custom-light: #5d6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#17335a",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 214.925,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.07762,
    "h": 257.2
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#17335A
secondary
#916D3C
accent
#A145E2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #17335A

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

Preview Lab → · Contrast checker → · Palette generator →

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