#173290#173290

#173290 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.158 H 266.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#173290
RGBrgb(23, 50, 144)
HSLhsl(227, 72%, 33%)
HSVhsv(227, 84%, 56%)
CMYKcmyk(84%, 65.3%, 0%, 43.5%)
CIE-LABlab(25.19, 27.21, -54.48)
CIE-LCHlch(25.19, 60.90, 296.54°)
OKLaboklab(36.55% -0.0111 -0.1578)
OKLCHoklch(36.55% 0.158 266)
XYZxyz(6.5262, 4.4762, 26.9002)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173290 #907517
analogous
#176E90 #173290 #391790
triadic
#173290 #901732 #329017
tetradic
#173290 #90176E #907517 #179039
square
#173290 #90176E #907517 #179039
split-complementary
#173290 #903917 #6E9017
monochromatic
#060D26 #0F205B #173290 #1F44C5 #4164E1

Accessibility & contrast

On white

11.08
#173290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173290
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173290#FFFFFF#000000##FFFFFF
##1732901.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173290;
/* rgb */ color: rgb(23, 50, 144);
/* oklch */ color: oklch(36.6% 0.158 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c69b1',
    500: '#173290',
    950: '#000000',
  },
}
SCSS
$custom: #173290;
$custom-light: #6c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173290",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 226.612,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36551,
    "c": 0.15815,
    "h": 266
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#173290
secondary
#C1A542
accent
#C639EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173290

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

Preview Lab → · Contrast checker → · Palette generator →

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