#173252#173252

#173252 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.067 H 254.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#173252
RGBrgb(23, 50, 82)
HSLhsl(213, 56%, 21%)
HSVhsv(213, 72%, 32%)
CMYKcmyk(72%, 39%, 0%, 67.8%)
CIE-LABlab(20.33, 1.70, -22.55)
CIE-LCHlch(20.33, 22.62, 274.32°)
OKLaboklab(31.34% -0.0183 -0.064)
OKLCHoklch(31.34% 0.067 254)
XYZxyz(3.0164, 3.0723, 8.4150)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173252 #523717
analogous
#174F52 #173252 #191752
triadic
#173252 #521732 #325217
tetradic
#173252 #52174F #523717 #175219
square
#173252 #52174F #523717 #175219
split-complementary
#173252 #521917 #4F5217
monochromatic
#070F18 #0A1522 #173252 #244F82 #326CB2

Accessibility & contrast

On white

13.01
#173252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#173252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173252
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173252#FFFFFF#000000##FFFFFF
##1732521.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243453
Deuteranopia (green-blind)
#1C2E51
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173252;
/* rgb */ color: rgb(23, 50, 82);
/* oklch */ color: oklch(31.3% 0.067 254.0);
Tailwind
colors: {
  custom: {
    50: '#5b6983',
    500: '#173252',
    950: '#000000',
  },
}
SCSS
$custom: #173252;
$custom-light: #5b6983;
$custom-dark: #000000;
JSON
{
  "hex": "#173252",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 212.542,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.06657,
    "h": 254
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#173252
secondary
#89663C
accent
#9A48DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #173252

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

Preview Lab → · Contrast checker → · Palette generator →

#173252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva