#172B47#172B47

#172B47 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.8% C 0.058 H 257.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#172B47
RGBrgb(23, 43, 71)
HSLhsl(215, 51%, 18%)
HSVhsv(215, 68%, 28%)
CMYKcmyk(67.6%, 39.4%, 0%, 72.2%)
CIE-LABlab(17.29, 2.24, -19.92)
CIE-LCHlch(17.29, 20.04, 276.41°)
OKLaboklab(28.75% -0.013 -0.0564)
OKLCHoklch(28.75% 0.058 257)
XYZxyz(2.3542, 2.3646, 6.2924)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B47 #473317
analogous
#174347 #172B47 #1B1747
triadic
#172B47 #47172B #2B4717
tetradic
#172B47 #471743 #473317 #17471B
square
#172B47 #471743 #473317 #17471B
split-complementary
#172B47 #471B17 #434717
monochromatic
#070E17 #080F19 #172B47 #264775 #3563A3

Accessibility & contrast

On white

14.26
#172B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B47
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B47#FFFFFF#000000##FFFFFF
##172B471.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D48
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b47;
/* rgb */ color: rgb(23, 43, 71);
/* oklch */ color: oklch(28.8% 0.058 257.0);
Tailwind
colors: {
  custom: {
    50: '#59647a',
    500: '#172b47',
    950: '#000000',
  },
}
SCSS
$custom: #172b47;
$custom-light: #59647a;
$custom-dark: #000000;
JSON
{
  "hex": "#172b47",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 71
  },
  "hsl": {
    "h": 215,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28753,
    "c": 0.05788,
    "h": 257
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#172B47
secondary
#7E623C
accent
#A04DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #172B47

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

Preview Lab → · Contrast checker → · Palette generator →

#172B47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva