#172FA0#172FA0

#172FA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.183 H 266.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#172FA0
RGBrgb(23, 47, 160)
HSLhsl(229, 75%, 36%)
HSVhsv(229, 86%, 63%)
CMYKcmyk(85.6%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.02, 35.36, -62.93)
CIE-LCHlch(26.02, 72.18, 299.33°)
OKLaboklab(37.64% -0.0105 -0.1824)
OKLCHoklch(37.64% 0.183 266.7)
XYZxyz(7.7128, 4.7523, 33.7617)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172FA0 #A08817
analogous
#1773A0 #172FA0 #4317A0
triadic
#172FA0 #A0172F #2FA017
tetradic
#172FA0 #A01773 #A08817 #17A043
square
#172FA0 #A01773 #A08817 #17A043
split-complementary
#172FA0 #A04317 #73A017
monochromatic
#081035 #0F1F6A #172FA0 #1F3FD6 #4C67E5

Accessibility & contrast

On white

10.77
#172FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#172FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172FA0
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172FA0#FFFFFF#000000##FFFFFF
##172FA01.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #172fa0;
/* rgb */ color: rgb(23, 47, 160);
/* oklch */ color: oklch(37.6% 0.183 266.7);
Tailwind
colors: {
  custom: {
    50: '#7068bd',
    500: '#172fa0',
    950: '#000000',
  },
}
SCSS
$custom: #172fa0;
$custom-light: #7068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#172fa0",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 229.489,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.18272,
    "h": 266.7
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#172FA0
secondary
#C7B14C
accent
#D136F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #172FA0

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

Preview Lab → · Contrast checker → · Palette generator →

#172FA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva