#172380#172380

#172380 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.154 H 269.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#172380
RGBrgb(23, 35, 128)
HSLhsl(233, 70%, 30%)
HSVhsv(233, 82%, 50%)
CMYKcmyk(82%, 72.7%, 0%, 49.8%)
CIE-LABlab(19.81, 31.09, -53.31)
CIE-LCHlch(19.81, 61.72, 300.25°)
OKLaboklab(32.14% -0.0026 -0.1544)
OKLCHoklch(32.14% 0.154 269)
XYZxyz(4.8493, 2.9422, 20.7302)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172380 #807417
analogous
#175880 #172380 #401780
triadic
#172380 #801723 #238017
tetradic
#172380 #801758 #807417 #178040
square
#172380 #801758 #807417 #178040
split-complementary
#172380 #804017 #588017
monochromatic
#05071A #0E154C #172380 #2031B4 #3649DB

Accessibility & contrast

On white

13.22
#172380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#172380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172380
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172380#FFFFFF#000000##FFFFFF
##1723801.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172380;
/* rgb */ color: rgb(23, 35, 128);
/* oklch */ color: oklch(32.1% 0.154 269.0);
Tailwind
colors: {
  custom: {
    50: '#695ea6',
    500: '#172380',
    950: '#000000',
  },
}
SCSS
$custom: #172380;
$custom-light: #695ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#172380",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 233.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3214,
    "c": 0.15445,
    "h": 269
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#172380
secondary
#B4A73E
accent
#D83BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172380

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

Preview Lab → · Contrast checker → · Palette generator →

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