#162B73#162B73

#162B73 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.127 H 266.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#162B73
RGBrgb(22, 43, 115)
HSLhsl(226, 68%, 27%)
HSVhsv(226, 81%, 45%)
CMYKcmyk(80.9%, 62.6%, 0%, 54.9%)
CIE-LABlab(20.58, 20.33, -43.77)
CIE-LCHlch(20.58, 48.26, 294.92°)
OKLaboklab(32.3% -0.0075 -0.1265)
OKLCHoklch(32.3% 0.127 266.6)
XYZxyz(4.2882, 3.1356, 16.5956)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B73 #735E16
analogous
#165A73 #162B73 #301673
triadic
#162B73 #73162B #2B7316
tetradic
#162B73 #73165A #735E16 #167330
square
#162B73 #73165A #735E16 #167330
split-complementary
#162B73 #733016 #5A7316
monochromatic
#050A1A #0C1840 #162B73 #203EA6 #2D53D7

Accessibility & contrast

On white

12.91
#162B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B73
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B73#FFFFFF#000000##FFFFFF
##162B731.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162b73;
/* rgb */ color: rgb(22, 43, 115);
/* oklch */ color: oklch(32.3% 0.127 266.6);
Tailwind
colors: {
  custom: {
    50: '#64649c',
    500: '#162b73',
    950: '#000000',
  },
}
SCSS
$custom: #162b73;
$custom-light: #64649c;
$custom-dark: #000000;
JSON
{
  "hex": "#162b73",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 226.452,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.1267,
    "h": 266.6
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#162B73
secondary
#A9903C
accent
#C43DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162B73

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

Preview Lab → · Contrast checker → · Palette generator →

#162B73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva