#172073#172073

#172073 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.140 H 270.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#172073
RGBrgb(23, 32, 115)
HSLhsl(234, 67%, 27%)
HSVhsv(234, 80%, 45%)
CMYKcmyk(80%, 72.2%, 0%, 54.9%)
CIE-LABlab(17.70, 28.11, -48.48)
CIE-LCHlch(17.70, 56.04, 300.11°)
OKLaboklab(30.2% 0.0004 -0.1403)
OKLCHoklch(30.2% 0.14 270.2)
XYZxyz(3.9633, 2.4526, 16.4808)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172073 #736A17
analogous
#174E73 #172073 #3C1773
triadic
#172073 #731720 #207317
tetradic
#172073 #73174E #736A17 #17733C
square
#172073 #73174E #736A17 #17733C
split-complementary
#172073 #733C17 #4E7317
monochromatic
#05071A #0D1240 #172073 #212EA6 #2F3FD5

Accessibility & contrast

On white

14.09
#172073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172073
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172073#FFFFFF#000000##FFFFFF
##1720731.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172073;
/* rgb */ color: rgb(23, 32, 115);
/* oklch */ color: oklch(30.2% 0.140 270.2);
Tailwind
colors: {
  custom: {
    50: '#655b9c',
    500: '#172073',
    950: '#000000',
  },
}
SCSS
$custom: #172073;
$custom-light: #655b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#172073",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 234.13,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30201,
    "c": 0.14034,
    "h": 270.2
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#172073
secondary
#A99E3D
accent
#D93EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #172073

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

Preview Lab → · Contrast checker → · Palette generator →

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