#173281#173281

#173281 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.137 H 265.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#173281
RGBrgb(23, 50, 129)
HSLhsl(225, 70%, 30%)
HSVhsv(225, 82%, 51%)
CMYKcmyk(82.2%, 61.2%, 0%, 49.4%)
CIE-LABlab(23.83, 21.19, -47.36)
CIE-LCHlch(23.83, 51.88, 294.11°)
OKLaboklab(35.12% -0.0112 -0.1369)
OKLCHoklch(35.12% 0.137 265.3)
XYZxyz(5.4550, 4.0477, 21.2584)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173281 #816617
analogous
#176781 #173281 #311781
triadic
#173281 #811732 #328117
tetradic
#173281 #811767 #816617 #178131
square
#173281 #811767 #816617 #178131
split-complementary
#173281 #813117 #678117
monochromatic
#050A1A #0E1E4D #173281 #2046B5 #3761DB

Accessibility & contrast

On white

11.60
#173281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#173281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173281
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173281#FFFFFF#000000##FFFFFF
##1732811.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173281;
/* rgb */ color: rgb(23, 50, 129);
/* oklch */ color: oklch(35.1% 0.137 265.3);
Tailwind
colors: {
  custom: {
    50: '#6769a6',
    500: '#173281',
    950: '#000000',
  },
}
SCSS
$custom: #173281;
$custom-light: #6769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#173281",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 224.717,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35123,
    "c": 0.13734,
    "h": 265.3
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#173281
secondary
#B5973E
accent
#BF3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173281

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

Preview Lab → · Contrast checker → · Palette generator →

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