#172680#172680

#172680 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.151 H 268.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#172680
RGBrgb(23, 38, 128)
HSLhsl(231, 70%, 30%)
HSVhsv(231, 82%, 50%)
CMYKcmyk(82%, 70.3%, 0%, 49.8%)
CIE-LABlab(20.54, 29.10, -52.11)
CIE-LCHlch(20.54, 59.68, 299.18°)
OKLaboklab(32.67% -0.004 -0.1509)
OKLCHoklch(32.67% 0.151 268.5)
XYZxyz(4.9414, 3.1263, 20.7609)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172680 #807117
analogous
#175A80 #172680 #3D1780
triadic
#172680 #801726 #268017
tetradic
#172680 #80175A #807117 #17803D
square
#172680 #80175A #807117 #17803D
split-complementary
#172680 #803D17 #5A8017
monochromatic
#05081A #0E174C #172680 #2035B4 #364EDB

Accessibility & contrast

On white

12.92
#172680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172680
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172680#FFFFFF#000000##FFFFFF
##1726801.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172680;
/* rgb */ color: rgb(23, 38, 128);
/* oklch */ color: oklch(32.7% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#6860a6',
    500: '#172680',
    950: '#000000',
  },
}
SCSS
$custom: #172680;
$custom-light: #6860a6;
$custom-dark: #000000;
JSON
{
  "hex": "#172680",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 231.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.15096,
    "h": 268.5
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#172680
secondary
#B4A43E
accent
#D33BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #172680

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

Preview Lab → · Contrast checker → · Palette generator →

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