#172480#172480

#172480 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.153 H 268.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#172480
RGBrgb(23, 36, 128)
HSLhsl(233, 70%, 30%)
HSVhsv(233, 82%, 50%)
CMYKcmyk(82%, 71.9%, 0%, 49.8%)
CIE-LABlab(20.05, 30.43, -52.92)
CIE-LCHlch(20.05, 61.04, 299.90°)
OKLaboklab(32.31% -0.0031 -0.1533)
OKLCHoklch(32.31% 0.153 268.9)
XYZxyz(4.8792, 3.0019, 20.7402)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172480 #807317
analogous
#175980 #172480 #3E1780
triadic
#172480 #801724 #248017
tetradic
#172480 #801759 #807317 #17803E
square
#172480 #801759 #807317 #17803E
split-complementary
#172480 #803E17 #598017
monochromatic
#05071A #0E154C #172480 #2033B4 #364BDB

Accessibility & contrast

On white

13.12
#172480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#172480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172480
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172480#FFFFFF#000000##FFFFFF
##1724801.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172480;
/* rgb */ color: rgb(23, 36, 128);
/* oklch */ color: oklch(32.3% 0.153 268.9);
Tailwind
colors: {
  custom: {
    50: '#695fa6',
    500: '#172480',
    950: '#000000',
  },
}
SCSS
$custom: #172480;
$custom-light: #695fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#172480",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 232.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.15331,
    "h": 268.9
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#172480
secondary
#B4A63E
accent
#D63BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172480

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

Preview Lab → · Contrast checker → · Palette generator →

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