#172479#172479

#172479 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.144 H 269.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#172479
RGBrgb(23, 36, 121)
HSLhsl(232, 68%, 28%)
HSVhsv(232, 81%, 47%)
CMYKcmyk(81%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.32, 27.74, -49.66)
CIE-LCHlch(19.32, 56.88, 299.18°)
OKLaboklab(31.57% -0.0024 -0.1438)
OKLCHoklch(31.57% 0.144 269)
XYZxyz(4.4342, 2.8239, 18.3968)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172479 #796C17
analogous
#175579 #172479 #3B1779
triadic
#172479 #791724 #247917
tetradic
#172479 #791755 #796C17 #17793B
square
#172479 #791755 #796C17 #17793B
split-complementary
#172479 #793B17 #557917
monochromatic
#05081A #0D1546 #172479 #2133AC #3248D8

Accessibility & contrast

On white

13.42
#172479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172479
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172479#FFFFFF#000000##FFFFFF
##1724791.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172479;
/* rgb */ color: rgb(23, 36, 121);
/* oklch */ color: oklch(31.6% 0.144 269.0);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#172479',
    950: '#000000',
  },
}
SCSS
$custom: #172479;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#172479",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 232.041,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.1438,
    "h": 269
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#172479
secondary
#AE9F3E
accent
#D43DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172479

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

Preview Lab → · Contrast checker → · Palette generator →

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