#172476#172476

#172476 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.140 H 269.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#172476
RGBrgb(23, 36, 118)
HSLhsl(232, 67%, 28%)
HSVhsv(232, 81%, 46%)
CMYKcmyk(80.5%, 69.5%, 0%, 53.7%)
CIE-LABlab(19.02, 26.57, -48.24)
CIE-LCHlch(19.02, 55.07, 298.84°)
OKLaboklab(31.25% -0.0021 -0.1396)
OKLCHoklch(31.25% 0.14 269.1)
XYZxyz(4.2531, 2.7514, 17.4430)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172476 #766917
analogous
#175476 #172476 #391776
triadic
#172476 #761724 #247617
tetradic
#172476 #761754 #766917 #177639
square
#172476 #761754 #766917 #177639
split-complementary
#172476 #763917 #547617
monochromatic
#05081A #0D1443 #172476 #2134A9 #3147D7

Accessibility & contrast

On white

13.54
#172476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#172476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172476
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172476#FFFFFF#000000##FFFFFF
##1724761.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172476;
/* rgb */ color: rgb(23, 36, 118);
/* oklch */ color: oklch(31.3% 0.140 269.1);
Tailwind
colors: {
  custom: {
    50: '#665e9e',
    500: '#172476',
    950: '#000000',
  },
}
SCSS
$custom: #172476;
$custom-light: #665e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172476",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 231.789,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.13965,
    "h": 269.1
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#172476
secondary
#AB9C3E
accent
#D33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172476

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

Preview Lab → · Contrast checker → · Palette generator →

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