#173090#173090

#173090 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.161 H 266.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#173090
RGBrgb(23, 48, 144)
HSLhsl(228, 72%, 33%)
HSVhsv(228, 84%, 56%)
CMYKcmyk(84%, 66.7%, 0%, 43.5%)
CIE-LABlab(24.67, 28.58, -55.34)
CIE-LCHlch(24.67, 62.28, 297.31°)
OKLaboklab(36.17% -0.0101 -0.1603)
OKLCHoklch(36.17% 0.161 266.4)
XYZxyz(6.4426, 4.3089, 26.8723)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173090 #907717
analogous
#176D90 #173090 #3A1790
triadic
#173090 #901730 #309017
tetradic
#173090 #90176D #907717 #17903A
square
#173090 #90176D #907717 #17903A
split-complementary
#173090 #903A17 #6D9017
monochromatic
#060D26 #0F1E5B #173090 #1F42C5 #4162E1

Accessibility & contrast

On white

11.28
#173090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173090
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173090#FFFFFF#000000##FFFFFF
##1730901.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173090;
/* rgb */ color: rgb(23, 48, 144);
/* oklch */ color: oklch(36.2% 0.161 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c68b1',
    500: '#173090',
    950: '#000000',
  },
}
SCSS
$custom: #173090;
$custom-light: #6c68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173090",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 227.603,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.16059,
    "h": 266.4
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#173090
secondary
#C1A742
accent
#C939EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173090

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

Preview Lab → · Contrast checker → · Palette generator →

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