#172077#172077

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

Color values

HEX#172077
RGBrgb(23, 32, 119)
HSLhsl(234, 68%, 28%)
HSVhsv(234, 81%, 47%)
CMYKcmyk(80.7%, 73.1%, 0%, 53.3%)
CIE-LABlab(18.13, 29.64, -50.35)
CIE-LCHlch(18.13, 58.43, 300.49°)
OKLaboklab(30.64% -0.0001 -0.1458)
OKLCHoklch(30.64% 0.146 270)
XYZxyz(4.1985, 2.5466, 17.7195)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172077 #776E17
analogous
#175077 #172077 #3E1777
triadic
#172077 #771720 #207717
tetradic
#172077 #771750 #776E17 #17773E
square
#172077 #771750 #776E17 #17773E
split-complementary
#172077 #773E17 #507717
monochromatic
#05071A #0D1244 #172077 #212EAA #3141D7

Accessibility & contrast

On white

13.91
#172077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172077
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172077#FFFFFF#000000##FFFFFF
##1720771.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172077;
/* rgb */ color: rgb(23, 32, 119);
/* oklch */ color: oklch(30.6% 0.146 270.0);
Tailwind
colors: {
  custom: {
    50: '#665c9f',
    500: '#172077',
    950: '#000000',
  },
}
SCSS
$custom: #172077;
$custom-light: #665c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#172077",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 234.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30637,
    "c": 0.1458,
    "h": 270
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#172077
secondary
#ACA23E
accent
#DA3DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #172077

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

Preview Lab → · Contrast checker → · Palette generator →

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