#172280#172280

#172280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.156 H 269.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#172280
RGBrgb(23, 34, 128)
HSLhsl(234, 70%, 30%)
HSVhsv(234, 82%, 50%)
CMYKcmyk(82%, 73.4%, 0%, 49.8%)
CIE-LABlab(19.57, 31.74, -53.70)
CIE-LCHlch(19.57, 62.38, 300.58°)
OKLaboklab(31.97% -0.0021 -0.1556)
OKLCHoklch(31.97% 0.156 269.2)
XYZxyz(4.8203, 2.8842, 20.7205)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172280 #807517
analogous
#175780 #172280 #401780
triadic
#172280 #801722 #228017
tetradic
#172280 #801757 #807517 #178040
square
#172280 #801757 #807517 #178040
split-complementary
#172280 #804017 #578017
monochromatic
#05071A #0E144C #172280 #2030B4 #3648DB

Accessibility & contrast

On white

13.32
#172280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172280
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172280#FFFFFF#000000##FFFFFF
##1722801.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172280;
/* rgb */ color: rgb(23, 34, 128);
/* oklch */ color: oklch(32.0% 0.156 269.2);
Tailwind
colors: {
  custom: {
    50: '#695da6',
    500: '#172280',
    950: '#000000',
  },
}
SCSS
$custom: #172280;
$custom-light: #695da6;
$custom-dark: #000000;
JSON
{
  "hex": "#172280",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 233.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31969,
    "c": 0.15558,
    "h": 269.2
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#172280
secondary
#B4A83E
accent
#DA3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172280

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

Preview Lab → · Contrast checker → · Palette generator →

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