#172377#172377

#172377 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.142 H 269.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#172377
RGBrgb(23, 35, 119)
HSLhsl(233, 68%, 28%)
HSVhsv(233, 81%, 47%)
CMYKcmyk(80.7%, 70.6%, 0%, 53.3%)
CIE-LABlab(18.87, 27.64, -49.13)
CIE-LCHlch(18.87, 56.37, 299.36°)
OKLaboklab(31.17% -0.0017 -0.1422)
OKLCHoklch(31.17% 0.142 269.3)
XYZxyz(4.2830, 2.7157, 17.7476)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172377 #776B17
analogous
#175377 #172377 #3B1777
triadic
#172377 #771723 #237717
tetradic
#172377 #771753 #776B17 #17773B
square
#172377 #771753 #776B17 #17773B
split-complementary
#172377 #773B17 #537717
monochromatic
#05081A #0D1444 #172377 #2132AA #3146D7

Accessibility & contrast

On white

13.61
#172377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172377
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172377#FFFFFF#000000##FFFFFF
##1723771.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172377;
/* rgb */ color: rgb(23, 35, 119);
/* oklch */ color: oklch(31.2% 0.142 269.3);
Tailwind
colors: {
  custom: {
    50: '#665e9f',
    500: '#172377',
    950: '#000000',
  },
}
SCSS
$custom: #172377;
$custom-light: #665e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#172377",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 232.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31172,
    "c": 0.14225,
    "h": 269.3
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#172377
secondary
#AC9E3E
accent
#D53DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #172377

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

Preview Lab → · Contrast checker → · Palette generator →

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