#172137#172137

#172137 is a dark, muted blue. Relative luminance 0.015; OKLCH L 25.0% C 0.044 H 264.8°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#172137
RGBrgb(23, 33, 55)
HSLhsl(221, 41%, 15%)
HSVhsv(221, 58%, 22%)
CMYKcmyk(58.2%, 40%, 0%, 78.4%)
CIE-LABlab(12.90, 3.24, -15.70)
CIE-LCHlch(12.90, 16.03, 281.65°)
OKLaboklab(25.01% -0.004 -0.0442)
OKLCHoklch(25.01% 0.044 264.8)
XYZxyz(1.5866, 1.5456, 3.8284)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172137 #372D17
analogous
#173137 #172137 #1D1737
triadic
#172137 #371721 #213717
tetradic
#172137 #371731 #372D17 #17371D
square
#172137 #371731 #372D17 #17371D
split-complementary
#172137 #371D17 #313717
monochromatic
#090D16 #090D16 #172137 #293B62 #3B558D

Accessibility & contrast

On white

16.04
#172137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#172137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172137
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172137#FFFFFF#000000##FFFFFF
##1721371.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192338
Deuteranopia (green-blind)
#152037
Tritanopia (blue-blind)
#092629
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #172137;
/* rgb */ color: rgb(23, 33, 55);
/* oklch */ color: oklch(25.0% 0.044 264.8);
Tailwind
colors: {
  custom: {
    50: '#565b6e',
    500: '#172137',
    950: '#000000',
  },
}
SCSS
$custom: #172137;
$custom-light: #565b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#172137",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 221.25,
    "s": 41.026,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25015,
    "c": 0.0444,
    "h": 264.8
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#172137
secondary
#6D5E3D
accent
#AB57D1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030407
muted
#78797A

Preview Lab

Preview with #172137

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

Preview Lab → · Contrast checker → · Palette generator →

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