#172485#172485

#172485 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 268.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#172485
RGBrgb(23, 36, 133)
HSLhsl(233, 71%, 31%)
HSVhsv(233, 83%, 52%)
CMYKcmyk(82.7%, 72.9%, 0%, 47.8%)
CIE-LABlab(20.58, 32.32, -55.20)
CIE-LCHlch(20.58, 63.96, 300.35°)
OKLaboklab(32.86% -0.0036 -0.1599)
OKLCHoklch(32.86% 0.16 268.7)
XYZxyz(5.2164, 3.1368, 22.5163)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172485 #857817
analogous
#175B85 #172485 #411785
triadic
#172485 #851724 #248517
tetradic
#172485 #85175B #857817 #178541
square
#172485 #85175B #857817 #178541
split-complementary
#172485 #854117 #5B8517
monochromatic
#05081D #0E1651 #172485 #2032B9 #3A4DDD

Accessibility & contrast

On white

12.90
#172485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172485
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172485#FFFFFF#000000##FFFFFF
##1724851.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172485;
/* rgb */ color: rgb(23, 36, 133);
/* oklch */ color: oklch(32.9% 0.160 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a5faa',
    500: '#172485',
    950: '#000000',
  },
}
SCSS
$custom: #172485;
$custom-light: #6a5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#172485",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 232.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32857,
    "c": 0.15995,
    "h": 268.7
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#172485
secondary
#B9AB3F
accent
#D83BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #172485

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

Preview Lab → · Contrast checker → · Palette generator →

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