#173084#173084

#173084 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.144 H 266.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#173084
RGBrgb(23, 48, 132)
HSLhsl(226, 70%, 30%)
HSVhsv(226, 83%, 52%)
CMYKcmyk(82.6%, 63.6%, 0%, 48.2%)
CIE-LABlab(23.54, 23.81, -49.71)
CIE-LCHlch(23.54, 55.11, 295.59°)
OKLaboklab(34.99% -0.0098 -0.1438)
OKLCHoklch(34.99% 0.144 266.1)
XYZxyz(5.5737, 3.9614, 22.2962)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173084 #846B17
analogous
#176684 #173084 #351784
triadic
#173084 #841730 #308417
tetradic
#173084 #841766 #846B17 #178435
square
#173084 #841766 #846B17 #178435
split-complementary
#173084 #843517 #668417
monochromatic
#050A1C #0E1D50 #173084 #2043B8 #395EDC

Accessibility & contrast

On white

11.72
#173084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#173084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173084
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173084#FFFFFF#000000##FFFFFF
##1730841.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173084;
/* rgb */ color: rgb(23, 48, 132);
/* oklch */ color: oklch(35.0% 0.144 266.1);
Tailwind
colors: {
  custom: {
    50: '#6868a9',
    500: '#173084',
    950: '#000000',
  },
}
SCSS
$custom: #173084;
$custom-light: #6868a9;
$custom-dark: #000000;
JSON
{
  "hex": "#173084",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 226.239,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.14414,
    "h": 266.1
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#173084
secondary
#B89C3F
accent
#C43BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173084

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

Preview Lab → · Contrast checker → · Palette generator →

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