#173490#173490

#173490 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.156 H 265.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#173490
RGBrgb(23, 52, 144)
HSLhsl(226, 72%, 33%)
HSVhsv(226, 84%, 56%)
CMYKcmyk(84%, 63.9%, 0%, 43.5%)
CIE-LABlab(25.72, 25.84, -53.62)
CIE-LCHlch(25.72, 59.52, 295.73°)
OKLaboklab(36.94% -0.0122 -0.1552)
OKLCHoklch(36.94% 0.156 265.5)
XYZxyz(6.6136, 4.6510, 26.9293)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173490 #907317
analogous
#177090 #173490 #371790
triadic
#173490 #901734 #349017
tetradic
#173490 #901770 #907317 #179037
square
#173490 #901770 #907317 #179037
split-complementary
#173490 #903717 #709017
monochromatic
#060E26 #0F215B #173490 #1F47C5 #4167E1

Accessibility & contrast

On white

10.88
#173490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173490
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173490#FFFFFF#000000##FFFFFF
##1734901.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173490;
/* rgb */ color: rgb(23, 52, 144);
/* oklch */ color: oklch(36.9% 0.156 265.5);
Tailwind
colors: {
  custom: {
    50: '#6b6bb1',
    500: '#173490',
    950: '#000000',
  },
}
SCSS
$custom: #173490;
$custom-light: #6b6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#173490",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 225.62,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.15568,
    "h": 265.5
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#173490
secondary
#C1A342
accent
#C339EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173490

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

Preview Lab → · Contrast checker → · Palette generator →

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