#172079#172079

#172079 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.148 H 269.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#172079
RGBrgb(23, 32, 121)
HSLhsl(234, 68%, 28%)
HSVhsv(234, 81%, 47%)
CMYKcmyk(81%, 73.6%, 0%, 52.5%)
CIE-LABlab(18.34, 30.40, -51.28)
CIE-LCHlch(18.34, 59.61, 300.66°)
OKLaboklab(30.86% -0.0003 -0.1485)
OKLCHoklch(30.86% 0.148 269.9)
XYZxyz(4.3199, 2.5952, 18.3587)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172079 #797017
analogous
#175179 #172079 #3F1779
triadic
#172079 #791720 #207917
tetradic
#172079 #791751 #797017 #17793F
square
#172079 #791751 #797017 #17793F
split-complementary
#172079 #793F17 #517917
monochromatic
#05071A #0D1246 #172079 #212EAC #3242D8

Accessibility & contrast

On white

13.82
#172079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172079
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172079#FFFFFF#000000##FFFFFF
##1720791.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172079;
/* rgb */ color: rgb(23, 32, 121);
/* oklch */ color: oklch(30.9% 0.148 269.9);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#172079',
    950: '#000000',
  },
}
SCSS
$custom: #172079;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#172079",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 234.49,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30857,
    "c": 0.14849,
    "h": 269.9
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#172079
secondary
#AEA43E
accent
#DB3DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172079

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

Preview Lab → · Contrast checker → · Palette generator →

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