#172376#172376

#172376 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.141 H 269.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#172376
RGBrgb(23, 35, 118)
HSLhsl(232, 67%, 28%)
HSVhsv(232, 81%, 46%)
CMYKcmyk(80.5%, 70.3%, 0%, 53.7%)
CIE-LABlab(18.76, 27.25, -48.66)
CIE-LCHlch(18.76, 55.77, 299.25°)
OKLaboklab(31.07% -0.0016 -0.1409)
OKLCHoklch(31.07% 0.141 269.4)
XYZxyz(4.2233, 2.6918, 17.4330)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172376 #766A17
analogous
#175276 #172376 #3A1776
triadic
#172376 #761723 #237617
tetradic
#172376 #761752 #766A17 #17763A
square
#172376 #761752 #766A17 #17763A
split-complementary
#172376 #763A17 #527617
monochromatic
#05081A #0D1443 #172376 #2132A9 #3146D7

Accessibility & contrast

On white

13.65
#172376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172376
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172376#FFFFFF#000000##FFFFFF
##1723761.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172376;
/* rgb */ color: rgb(23, 35, 118);
/* oklch */ color: oklch(31.1% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#665e9e',
    500: '#172376',
    950: '#000000',
  },
}
SCSS
$custom: #172376;
$custom-light: #665e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172376",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 232.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31066,
    "c": 0.14087,
    "h": 269.4
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#172376
secondary
#AB9D3E
accent
#D43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172376

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

Preview Lab → · Contrast checker → · Palette generator →

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