#172BA0#172BA0

#172BA0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.187 H 267.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#172BA0
RGBrgb(23, 43, 160)
HSLhsl(231, 75%, 36%)
HSVhsv(231, 86%, 63%)
CMYKcmyk(85.6%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.10, 37.89, -64.44)
CIE-LCHlch(25.10, 74.76, 300.45°)
OKLaboklab(36.97% -0.0092 -0.1868)
OKLCHoklch(36.97% 0.187 267.2)
XYZxyz(7.5602, 4.4470, 33.7108)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172BA0 #A08C17
analogous
#176FA0 #172BA0 #4717A0
triadic
#172BA0 #A0172B #2BA017
tetradic
#172BA0 #A0176F #A08C17 #17A047
square
#172BA0 #A0176F #A08C17 #17A047
split-complementary
#172BA0 #A04717 #6FA017
monochromatic
#080E35 #0F1D6A #172BA0 #1F39D6 #4C62E5

Accessibility & contrast

On white

11.11
#172BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#172BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172BA0
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172BA0#FFFFFF#000000##FFFFFF
##172BA01.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #172ba0;
/* rgb */ color: rgb(23, 43, 160);
/* oklch */ color: oklch(37.0% 0.187 267.2);
Tailwind
colors: {
  custom: {
    50: '#7165bd',
    500: '#172ba0',
    950: '#000000',
  },
}
SCSS
$custom: #172ba0;
$custom-light: #7165bd;
$custom-dark: #000000;
JSON
{
  "hex": "#172ba0",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 231.241,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36972,
    "c": 0.18705,
    "h": 267.2
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#172BA0
secondary
#C7B54C
accent
#D636F1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #172BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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