#173381#173381

#173381 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.136 H 265.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#173381
RGBrgb(23, 51, 129)
HSLhsl(224, 70%, 30%)
HSVhsv(224, 82%, 51%)
CMYKcmyk(82.2%, 60.5%, 0%, 49.4%)
CIE-LABlab(24.11, 20.49, -46.90)
CIE-LCHlch(24.11, 51.18, 293.60°)
OKLaboklab(35.33% -0.0119 -0.1355)
OKLCHoklch(35.33% 0.136 265)
XYZxyz(5.4982, 4.1341, 21.2728)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173381 #816517
analogous
#176881 #173381 #301781
triadic
#173381 #811733 #338117
tetradic
#173381 #811768 #816517 #178130
square
#173381 #811768 #816517 #178130
split-complementary
#173381 #813017 #688117
monochromatic
#050A1A #0E1E4D #173381 #2048B5 #3762DB

Accessibility & contrast

On white

11.49
#173381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#173381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173381
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173381#FFFFFF#000000##FFFFFF
##1733811.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173381;
/* rgb */ color: rgb(23, 51, 129);
/* oklch */ color: oklch(35.3% 0.136 265.0);
Tailwind
colors: {
  custom: {
    50: '#676aa6',
    500: '#173381',
    950: '#000000',
  },
}
SCSS
$custom: #173381;
$custom-light: #676aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#173381",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 224.151,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35333,
    "c": 0.13603,
    "h": 265
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#173381
secondary
#B5963E
accent
#BE3BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173381

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

Preview Lab → · Contrast checker → · Palette generator →

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