#173390#173390

#173390 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.157 H 265.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#173390
RGBrgb(23, 51, 144)
HSLhsl(226, 72%, 33%)
HSVhsv(226, 84%, 56%)
CMYKcmyk(84%, 64.6%, 0%, 43.5%)
CIE-LABlab(25.45, 26.53, -54.05)
CIE-LCHlch(25.45, 60.21, 296.14°)
OKLaboklab(36.75% -0.0116 -0.1565)
OKLCHoklch(36.75% 0.157 265.7)
XYZxyz(6.5694, 4.5626, 26.9146)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173390 #907417
analogous
#176F90 #173390 #381790
triadic
#173390 #901733 #339017
tetradic
#173390 #90176F #907417 #179038
square
#173390 #90176F #907417 #179038
split-complementary
#173390 #903817 #6F9017
monochromatic
#060E26 #0F205B #173390 #1F46C5 #4166E1

Accessibility & contrast

On white

10.98
#173390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173390
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173390#FFFFFF#000000##FFFFFF
##1733901.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173390;
/* rgb */ color: rgb(23, 51, 144);
/* oklch */ color: oklch(36.7% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c6ab1',
    500: '#173390',
    950: '#000000',
  },
}
SCSS
$custom: #173390;
$custom-light: #6c6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#173390",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 226.116,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36746,
    "c": 0.15692,
    "h": 265.7
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#173390
secondary
#C1A442
accent
#C539EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173390

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

Preview Lab → · Contrast checker → · Palette generator →

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