#162A73#162A73

#162A73 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.128 H 266.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#162A73
RGBrgb(22, 42, 115)
HSLhsl(227, 68%, 27%)
HSVhsv(227, 81%, 45%)
CMYKcmyk(80.9%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.30, 21.04, -44.23)
CIE-LCHlch(20.30, 48.98, 295.45°)
OKLaboklab(32.09% -0.0068 -0.1278)
OKLCHoklch(32.09% 0.128 266.9)
XYZxyz(4.2523, 3.0638, 16.5836)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A73 #735F16
analogous
#165973 #162A73 #311673
triadic
#162A73 #73162A #2A7316
tetradic
#162A73 #731659 #735F16 #167331
square
#162A73 #731659 #735F16 #167331
split-complementary
#162A73 #733116 #597316
monochromatic
#05091A #0C1740 #162A73 #203DA6 #2D51D7

Accessibility & contrast

On white

13.02
#162A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A73
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A73#FFFFFF#000000##FFFFFF
##162A731.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162a73;
/* rgb */ color: rgb(22, 42, 115);
/* oklch */ color: oklch(32.1% 0.128 266.9);
Tailwind
colors: {
  custom: {
    50: '#64639c',
    500: '#162a73',
    950: '#000000',
  },
}
SCSS
$custom: #162a73;
$custom-light: #64639c;
$custom-dark: #000000;
JSON
{
  "hex": "#162a73",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 227.097,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32092,
    "c": 0.12801,
    "h": 266.9
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#162A73
secondary
#A9913C
accent
#C53DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162A73

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

Preview Lab → · Contrast checker → · Palette generator →

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