#172144#172144

#172144 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.067 H 269.3°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#172144
RGBrgb(23, 33, 68)
HSLhsl(227, 49%, 18%)
HSVhsv(227, 66%, 27%)
CMYKcmyk(66.2%, 51.5%, 0%, 73.3%)
CIE-LABlab(13.75, 8.41, -23.48)
CIE-LCHlch(13.75, 24.94, 289.71°)
OKLaboklab(25.95% -0.0008 -0.067)
OKLCHoklch(25.95% 0.067 269.3)
XYZxyz(1.9402, 1.6871, 5.6911)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172144 #443A17
analogous
#173744 #172144 #231744
triadic
#172144 #441721 #214417
tetradic
#172144 #441737 #443A17 #174423
square
#172144 #441737 #443A17 #174423
split-complementary
#172144 #442317 #374417
monochromatic
#080B17 #080B17 #172144 #263772 #364D9F

Accessibility & contrast

On white

15.70
#172144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#172144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172144
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172144#FFFFFF#000000##FFFFFF
##1721441.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112545
Deuteranopia (green-blind)
#0A2143
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #172144;
/* rgb */ color: rgb(23, 33, 68);
/* oklch */ color: oklch(26.0% 0.067 269.3);
Tailwind
colors: {
  custom: {
    50: '#595b78',
    500: '#172144',
    950: '#000000',
  },
}
SCSS
$custom: #172144;
$custom-light: #595b78;
$custom-dark: #000000;
JSON
{
  "hex": "#172144",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 226.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25953,
    "c": 0.06698,
    "h": 269.3
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#172144
secondary
#7B6D3C
accent
#BA4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #172144

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

Preview Lab → · Contrast checker → · Palette generator →

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