#173251#173251

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

Color values

HEX#173251
RGBrgb(23, 50, 81)
HSLhsl(212, 56%, 20%)
HSVhsv(212, 72%, 32%)
CMYKcmyk(71.6%, 38.3%, 0%, 68.2%)
CIE-LABlab(20.27, 1.30, -21.98)
CIE-LCHlch(20.27, 22.02, 273.38°)
OKLaboklab(31.27% -0.0186 -0.0623)
OKLCHoklch(31.27% 0.065 253.4)
XYZxyz(2.9786, 3.0571, 8.2161)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173251 #513617
analogous
#174F51 #173251 #191751
triadic
#173251 #511732 #325117
tetradic
#173251 #51174F #513617 #175119
square
#173251 #51174F #513617 #175119
split-complementary
#173251 #511917 #4F5117
monochromatic
#070F18 #091521 #173251 #254F81 #326DB0

Accessibility & contrast

On white

13.03
#173251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173251
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173251#FFFFFF#000000##FFFFFF
##1732511.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1C2E50
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173251;
/* rgb */ color: rgb(23, 50, 81);
/* oklch */ color: oklch(31.3% 0.065 253.4);
Tailwind
colors: {
  custom: {
    50: '#5b6982',
    500: '#173251',
    950: '#000000',
  },
}
SCSS
$custom: #173251;
$custom-light: #5b6982;
$custom-dark: #000000;
JSON
{
  "hex": "#173251",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 81
  },
  "hsl": {
    "h": 212.069,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31273,
    "c": 0.06505,
    "h": 253.4
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#173251
secondary
#88653C
accent
#9949DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #173251

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

Preview Lab → · Contrast checker → · Palette generator →

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