#173790#173790

#173790 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.152 H 264.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#173790
RGBrgb(23, 55, 144)
HSLhsl(224, 72%, 33%)
HSVhsv(224, 84%, 56%)
CMYKcmyk(84%, 61.8%, 0%, 43.5%)
CIE-LABlab(26.53, 23.77, -52.29)
CIE-LCHlch(26.53, 57.44, 294.45°)
OKLaboklab(37.55% -0.0139 -0.1513)
OKLCHoklch(37.55% 0.152 264.7)
XYZxyz(6.7518, 4.9273, 26.9754)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173790 #907017
analogous
#177490 #173790 #331790
triadic
#173790 #901737 #379017
tetradic
#173790 #901774 #907017 #179033
square
#173790 #901774 #907017 #179033
split-complementary
#173790 #903317 #749017
monochromatic
#060F26 #0F235B #173790 #1F4BC5 #416BE1

Accessibility & contrast

On white

10.58
#173790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173790
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173790#FFFFFF#000000##FFFFFF
##1737901.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173790;
/* rgb */ color: rgb(23, 55, 144);
/* oklch */ color: oklch(37.5% 0.152 264.7);
Tailwind
colors: {
  custom: {
    50: '#6b6db1',
    500: '#173790',
    950: '#000000',
  },
}
SCSS
$custom: #173790;
$custom-light: #6b6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#173790",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 224.132,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37545,
    "c": 0.15191,
    "h": 264.7
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#173790
secondary
#C19F42
accent
#BF39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173790

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

Preview Lab → · Contrast checker → · Palette generator →

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