#162173#162173

#162173 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.139 H 269.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#162173
RGBrgb(22, 33, 115)
HSLhsl(233, 68%, 27%)
HSVhsv(233, 81%, 45%)
CMYKcmyk(80.9%, 71.3%, 0%, 54.9%)
CIE-LABlab(17.90, 27.34, -48.16)
CIE-LCHlch(17.90, 55.38, 299.58°)
OKLaboklab(30.33% -0.0012 -0.1394)
OKLCHoklch(30.33% 0.139 269.5)
XYZxyz(3.9682, 2.4956, 16.4889)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162173 #736816
analogous
#165073 #162173 #3A1673
triadic
#162173 #731621 #217316
tetradic
#162173 #731650 #736816 #16733A
square
#162173 #731650 #736816 #16733A
split-complementary
#162173 #733A16 #507316
monochromatic
#05071A #0C1240 #162173 #2030A6 #2D41D7

Accessibility & contrast

On white

14.01
#162173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162173
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162173#FFFFFF#000000##FFFFFF
##1621731.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162173;
/* rgb */ color: rgb(22, 33, 115);
/* oklch */ color: oklch(30.3% 0.139 269.5);
Tailwind
colors: {
  custom: {
    50: '#655c9c',
    500: '#162173',
    950: '#000000',
  },
}
SCSS
$custom: #162173;
$custom-light: #655c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#162173",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 232.903,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.13943,
    "h": 269.5
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#162173
secondary
#A99C3C
accent
#D63DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162173

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

Preview Lab → · Contrast checker → · Palette generator →

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