#162C73#162C73

#162C73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.125 H 266.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#162C73
RGBrgb(22, 44, 115)
HSLhsl(226, 68%, 27%)
HSVhsv(226, 81%, 45%)
CMYKcmyk(80.9%, 61.7%, 0%, 54.9%)
CIE-LABlab(20.86, 19.61, -43.30)
CIE-LCHlch(20.86, 47.54, 294.37°)
OKLaboklab(32.51% -0.0083 -0.1251)
OKLCHoklch(32.51% 0.125 266.2)
XYZxyz(4.3250, 3.2093, 16.6078)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C73 #735D16
analogous
#165B73 #162C73 #2E1673
triadic
#162C73 #73162C #2C7316
tetradic
#162C73 #73165B #735D16 #16732E
square
#162C73 #73165B #735D16 #16732E
split-complementary
#162C73 #732E16 #5B7316
monochromatic
#050A1A #0C1840 #162C73 #2040A6 #2D55D7

Accessibility & contrast

On white

12.79
#162C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C73
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C73#FFFFFF#000000##FFFFFF
##162C731.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162c73;
/* rgb */ color: rgb(22, 44, 115);
/* oklch */ color: oklch(32.5% 0.125 266.2);
Tailwind
colors: {
  custom: {
    50: '#64649c',
    500: '#162c73',
    950: '#000000',
  },
}
SCSS
$custom: #162c73;
$custom-light: #64649c;
$custom-dark: #000000;
JSON
{
  "hex": "#162c73",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 225.806,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.12537,
    "h": 266.2
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#162C73
secondary
#A98F3C
accent
#C23DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162C73

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

Preview Lab → · Contrast checker → · Palette generator →

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