#172176#172176

#172176 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.143 H 269.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#172176
RGBrgb(23, 33, 118)
HSLhsl(234, 67%, 28%)
HSVhsv(234, 81%, 46%)
CMYKcmyk(80.5%, 72%, 0%, 53.7%)
CIE-LABlab(18.27, 28.60, -49.48)
CIE-LCHlch(18.27, 57.15, 300.02°)
OKLaboklab(30.7% -0.0005 -0.1433)
OKLCHoklch(30.7% 0.143 269.8)
XYZxyz(4.1661, 2.5774, 17.4140)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172176 #766C17
analogous
#175176 #172176 #3C1776
triadic
#172176 #761721 #217617
tetradic
#172176 #761751 #766C17 #17763C
square
#172176 #761751 #766C17 #17763C
split-complementary
#172176 #763C17 #517617
monochromatic
#05071A #0D1343 #172176 #212FA9 #3142D7

Accessibility & contrast

On white

13.86
#172176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172176
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172176#FFFFFF#000000##FFFFFF
##1721761.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172176;
/* rgb */ color: rgb(23, 33, 118);
/* oklch */ color: oklch(30.7% 0.143 269.8);
Tailwind
colors: {
  custom: {
    50: '#665c9e',
    500: '#172176',
    950: '#000000',
  },
}
SCSS
$custom: #172176;
$custom-light: #665c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172176",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 233.684,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30704,
    "c": 0.14327,
    "h": 269.8
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#172176
secondary
#ABA03E
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172176

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

Preview Lab → · Contrast checker → · Palette generator →

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