#172690#172690

#172690 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.172 H 268.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#172690
RGBrgb(23, 38, 144)
HSLhsl(233, 72%, 33%)
HSVhsv(233, 84%, 56%)
CMYKcmyk(84%, 73.6%, 0%, 43.5%)
CIE-LABlab(22.24, 35.14, -59.34)
CIE-LCHlch(22.24, 68.97, 300.64°)
OKLaboklab(34.4% -0.0057 -0.172)
OKLCHoklch(34.4% 0.172 268.1)
XYZxyz(6.0788, 3.5813, 26.7510)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172690 #908117
analogous
#176290 #172690 #441790
triadic
#172690 #901726 #269017
tetradic
#172690 #901762 #908117 #179044
square
#172690 #901762 #908117 #179044
split-complementary
#172690 #904417 #629017
monochromatic
#060A26 #0F185B #172690 #1F34C5 #4155E1

Accessibility & contrast

On white

12.23
#172690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#172690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172690
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172690#FFFFFF#000000##FFFFFF
##1726901.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #172690;
/* rgb */ color: rgb(23, 38, 144);
/* oklch */ color: oklch(34.4% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d61b2',
    500: '#172690',
    950: '#000000',
  },
}
SCSS
$custom: #172690;
$custom-light: #6d61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#172690",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 232.562,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34401,
    "c": 0.17206,
    "h": 268.1
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#172690
secondary
#C1B142
accent
#D939EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #172690

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

Preview Lab → · Contrast checker → · Palette generator →

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