#173282#173282

#173282 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.139 H 265.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#173282
RGBrgb(23, 50, 130)
HSLhsl(225, 70%, 30%)
HSVhsv(225, 82%, 51%)
CMYKcmyk(82.3%, 61.5%, 0%, 49%)
CIE-LABlab(23.92, 21.60, -47.84)
CIE-LCHlch(23.92, 52.49, 294.30°)
OKLaboklab(35.22% -0.0111 -0.1383)
OKLCHoklch(35.22% 0.139 265.4)
XYZxyz(5.5218, 4.0744, 21.6102)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173282 #826717
analogous
#176782 #173282 #321782
triadic
#173282 #821732 #328217
tetradic
#173282 #821767 #826717 #178232
square
#173282 #821767 #826717 #178232
split-complementary
#173282 #823217 #678217
monochromatic
#050A1A #0E1E4E #173282 #2046B6 #3861DC

Accessibility & contrast

On white

11.57
#173282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173282
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173282#FFFFFF#000000##FFFFFF
##1732821.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173282;
/* rgb */ color: rgb(23, 50, 130);
/* oklch */ color: oklch(35.2% 0.139 265.4);
Tailwind
colors: {
  custom: {
    50: '#6869a7',
    500: '#173282',
    950: '#000000',
  },
}
SCSS
$custom: #173282;
$custom-light: #6869a7;
$custom-dark: #000000;
JSON
{
  "hex": "#173282",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 224.86,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.35215,
    "c": 0.13875,
    "h": 265.4
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#173282
secondary
#B6983E
accent
#C03BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173282

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

Preview Lab → · Contrast checker → · Palette generator →

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