#162E7A#162E7A

#162E7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.133 H 265.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#162E7A
RGBrgb(22, 46, 122)
HSLhsl(226, 69%, 28%)
HSVhsv(226, 82%, 48%)
CMYKcmyk(82%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.05, 21.06, -45.84)
CIE-LCHlch(22.05, 50.44, 294.68°)
OKLaboklab(33.59% -0.0095 -0.1325)
OKLCHoklch(33.59% 0.133 265.9)
XYZxyz(4.8195, 3.5291, 18.8358)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E7A #7A6216
analogous
#16607A #162E7A #30167A
triadic
#162E7A #7A162E #2E7A16
tetradic
#162E7A #7A1660 #7A6216 #167A30
square
#162E7A #7A1660 #7A6216 #167A30
split-complementary
#162E7A #7A3016 #607A16
monochromatic
#050A1A #0D1A46 #162E7A #1F42AE #3159DA

Accessibility & contrast

On white

12.31
#162E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#162E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E7A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E7A#FFFFFF#000000##FFFFFF
##162E7A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #162e7a;
/* rgb */ color: rgb(22, 46, 122);
/* oklch */ color: oklch(33.6% 0.133 265.9);
Tailwind
colors: {
  custom: {
    50: '#6666a1',
    500: '#162e7a',
    950: '#000000',
  },
}
SCSS
$custom: #162e7a;
$custom-light: #6666a1;
$custom-dark: #000000;
JSON
{
  "hex": "#162e7a",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 225.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.13284,
    "h": 265.9
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#162E7A
secondary
#AF943D
accent
#C23CEC
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #162E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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