#173990#173990

#173990 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.149 H 264.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#173990
RGBrgb(23, 57, 144)
HSLhsl(223, 72%, 33%)
HSVhsv(223, 84%, 56%)
CMYKcmyk(84%, 60.4%, 0%, 43.5%)
CIE-LABlab(27.08, 22.38, -51.39)
CIE-LCHlch(27.08, 56.05, 293.54°)
OKLaboklab(37.96% -0.0151 -0.1486)
OKLCHoklch(37.96% 0.149 264.2)
XYZxyz(6.8487, 5.1212, 27.0077)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173990 #906E17
analogous
#177690 #173990 #311790
triadic
#173990 #901739 #399017
tetradic
#173990 #901776 #906E17 #179031
square
#173990 #901776 #906E17 #179031
split-complementary
#173990 #903117 #769017
monochromatic
#060F26 #0F245B #173990 #1F4EC5 #416EE1

Accessibility & contrast

On white

10.37
#173990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#173990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173990
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173990#FFFFFF#000000##FFFFFF
##1739901.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173990;
/* rgb */ color: rgb(23, 57, 144);
/* oklch */ color: oklch(38.0% 0.149 264.2);
Tailwind
colors: {
  custom: {
    50: '#6b6eb1',
    500: '#173990',
    950: '#000000',
  },
}
SCSS
$custom: #173990;
$custom-light: #6b6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#173990",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 223.14,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.14938,
    "h": 264.2
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#173990
secondary
#C19D42
accent
#BC39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173990

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

Preview Lab → · Contrast checker → · Palette generator →

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