#173190#173190

#173190 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.159 H 266.2°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#173190
RGBrgb(23, 49, 144)
HSLhsl(227, 72%, 33%)
HSVhsv(227, 84%, 56%)
CMYKcmyk(84%, 66%, 0%, 43.5%)
CIE-LABlab(24.93, 27.90, -54.91)
CIE-LCHlch(24.93, 61.59, 296.93°)
OKLaboklab(36.36% -0.0106 -0.159)
OKLCHoklch(36.36% 0.159 266.2)
XYZxyz(6.4839, 4.3916, 26.8861)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173190 #907617
analogous
#176E90 #173190 #391790
triadic
#173190 #901731 #319017
tetradic
#173190 #90176E #907617 #179039
square
#173190 #90176E #907617 #179039
split-complementary
#173190 #903917 #6E9017
monochromatic
#060D26 #0F1F5B #173190 #1F43C5 #4163E1

Accessibility & contrast

On white

11.18
#173190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#173190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173190
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173190#FFFFFF#000000##FFFFFF
##1731901.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173190;
/* rgb */ color: rgb(23, 49, 144);
/* oklch */ color: oklch(36.4% 0.159 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c69b1',
    500: '#173190',
    950: '#000000',
  },
}
SCSS
$custom: #173190;
$custom-light: #6c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173190",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 227.107,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.15937,
    "h": 266.2
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#173190
secondary
#C1A642
accent
#C839EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173190

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

Preview Lab → · Contrast checker → · Palette generator →

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