#172076#172076

#172076 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.144 H 270.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#172076
RGBrgb(23, 32, 118)
HSLhsl(234, 67%, 28%)
HSVhsv(234, 81%, 46%)
CMYKcmyk(80.5%, 72.9%, 0%, 53.7%)
CIE-LABlab(18.02, 29.26, -49.89)
CIE-LCHlch(18.02, 57.84, 300.40°)
OKLaboklab(30.53% 0.0001 -0.1444)
OKLCHoklch(30.53% 0.144 270)
XYZxyz(4.1388, 2.5227, 17.4048)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172076 #766D17
analogous
#174F76 #172076 #3E1776
triadic
#172076 #761720 #207617
tetradic
#172076 #76174F #766D17 #17763E
square
#172076 #76174F #766D17 #17763E
split-complementary
#172076 #763E17 #4F7617
monochromatic
#05071A #0D1243 #172076 #212EA9 #3140D7

Accessibility & contrast

On white

13.96
#172076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172076
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172076#FFFFFF#000000##FFFFFF
##1720761.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172076;
/* rgb */ color: rgb(23, 32, 118);
/* oklch */ color: oklch(30.5% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#665c9e',
    500: '#172076',
    950: '#000000',
  },
}
SCSS
$custom: #172076;
$custom-light: #665c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#172076",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 234.316,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30527,
    "c": 0.14444,
    "h": 270
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#172076
secondary
#ABA13E
accent
#DA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172076

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

Preview Lab → · Contrast checker → · Palette generator →

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