#172244#172244

#172244 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.065 H 268.2°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#172244
RGBrgb(23, 34, 68)
HSLhsl(225, 49%, 18%)
HSVhsv(225, 66%, 27%)
CMYKcmyk(66.2%, 50%, 0%, 73.3%)
CIE-LABlab(14.08, 7.66, -22.96)
CIE-LCHlch(14.08, 24.20, 288.45°)
OKLaboklab(26.2% -0.0021 -0.0654)
OKLCHoklch(26.2% 0.065 268.2)
XYZxyz(1.9684, 1.7434, 5.7005)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172244 #443917
analogous
#173844 #172244 #221744
triadic
#172244 #441722 #224417
tetradic
#172244 #441738 #443917 #174422
square
#172244 #441738 #443917 #174422
split-complementary
#172244 #442217 #384417
monochromatic
#080B17 #080B17 #172244 #263972 #36509F

Accessibility & contrast

On white

15.57
#172244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#172244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172244
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172244#FFFFFF#000000##FFFFFF
##1722441.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132645
Deuteranopia (green-blind)
#0C2243
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172244;
/* rgb */ color: rgb(23, 34, 68);
/* oklch */ color: oklch(26.2% 0.065 268.2);
Tailwind
colors: {
  custom: {
    50: '#595c78',
    500: '#172244',
    950: '#000000',
  },
}
SCSS
$custom: #172244;
$custom-light: #595c78;
$custom-dark: #000000;
JSON
{
  "hex": "#172244",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 225.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26203,
    "c": 0.06546,
    "h": 268.2
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#172244
secondary
#7B6C3C
accent
#B74FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #172244

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

Preview Lab → · Contrast checker → · Palette generator →

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