#173151#173151

#173151 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.066 H 254.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#173151
RGBrgb(23, 49, 81)
HSLhsl(213, 56%, 20%)
HSVhsv(213, 72%, 32%)
CMYKcmyk(71.6%, 39.5%, 0%, 68.2%)
CIE-LABlab(19.93, 2.00, -22.51)
CIE-LCHlch(19.93, 22.60, 275.08°)
OKLaboklab(31.01% -0.0174 -0.0639)
OKLCHoklch(31.01% 0.066 254.7)
XYZxyz(2.9363, 2.9726, 8.2020)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173151 #513717
analogous
#174E51 #173151 #1A1751
triadic
#173151 #511731 #315117
tetradic
#173151 #51174E #513717 #17511A
square
#173151 #51174E #513717 #17511A
split-complementary
#173151 #511A17 #4E5117
monochromatic
#070E18 #091421 #173151 #254E81 #326BB0

Accessibility & contrast

On white

13.17
#173151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#173151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173151
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173151#FFFFFF#000000##FFFFFF
##1731511.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233352
Deuteranopia (green-blind)
#1B2E50
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #173151;
/* rgb */ color: rgb(23, 49, 81);
/* oklch */ color: oklch(31.0% 0.066 254.7);
Tailwind
colors: {
  custom: {
    50: '#5b6882',
    500: '#173151',
    950: '#000000',
  },
}
SCSS
$custom: #173151;
$custom-light: #5b6882;
$custom-dark: #000000;
JSON
{
  "hex": "#173151",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 213.103,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3101,
    "c": 0.06623,
    "h": 254.7
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#173151
secondary
#88663C
accent
#9C49DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #173151

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

Preview Lab → · Contrast checker → · Palette generator →

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