#162979#162979

#162979 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.138 H 267.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#162979
RGBrgb(22, 41, 121)
HSLhsl(228, 69%, 28%)
HSVhsv(228, 82%, 47%)
CMYKcmyk(81.8%, 66.1%, 0%, 52.5%)
CIE-LABlab(20.58, 24.18, -47.60)
CIE-LCHlch(20.58, 53.39, 296.93°)
OKLaboklab(32.48% -0.0063 -0.1377)
OKLCHoklch(32.48% 0.138 267.4)
XYZxyz(4.5738, 3.1364, 18.4498)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162979 #796616
analogous
#165A79 #162979 #341679
triadic
#162979 #791629 #297916
tetradic
#162979 #79165A #796616 #167934
square
#162979 #79165A #796616 #167934
split-complementary
#162979 #793416 #5A7916
monochromatic
#05091A #0D1745 #162979 #1F3BAD #3051D9

Accessibility & contrast

On white

12.90
#162979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162979
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162979#FFFFFF#000000##FFFFFF
##1629791.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162979;
/* rgb */ color: rgb(22, 41, 121);
/* oklch */ color: oklch(32.5% 0.138 267.4);
Tailwind
colors: {
  custom: {
    50: '#6662a1',
    500: '#162979',
    950: '#000000',
  },
}
SCSS
$custom: #162979;
$custom-light: #6662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#162979",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 228.485,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.13787,
    "h": 267.4
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#162979
secondary
#AE983D
accent
#CA3CEC
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162979

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

Preview Lab → · Contrast checker → · Palette generator →

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