#172385#172385

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

Color values

HEX#172385
RGBrgb(23, 35, 133)
HSLhsl(233, 71%, 31%)
HSVhsv(233, 83%, 52%)
CMYKcmyk(82.7%, 73.7%, 0%, 47.8%)
CIE-LABlab(20.35, 32.97, -55.58)
CIE-LCHlch(20.35, 64.62, 300.67°)
OKLaboklab(32.69% -0.0032 -0.161)
OKLCHoklch(32.69% 0.161 268.9)
XYZxyz(5.1866, 3.0771, 22.5063)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172385 #857917
analogous
#175A85 #172385 #421785
triadic
#172385 #851723 #238517
tetradic
#172385 #85175A #857917 #178542
square
#172385 #85175A #857917 #178542
split-complementary
#172385 #854217 #5A8517
monochromatic
#05081D #0E1551 #172385 #2031B9 #3A4BDD

Accessibility & contrast

On white

13.00
#172385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#172385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172385
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172385#FFFFFF#000000##FFFFFF
##1723851.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172385;
/* rgb */ color: rgb(23, 35, 133);
/* oklch */ color: oklch(32.7% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#6a5eaa',
    500: '#172385',
    950: '#000000',
  },
}
SCSS
$custom: #172385;
$custom-light: #6a5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#172385",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 233.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.16106,
    "h": 268.9
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#172385
secondary
#B9AC3F
accent
#DA3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #172385

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

Preview Lab → · Contrast checker → · Palette generator →

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