#162079#162079

#162079 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.149 H 269.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#162079
RGBrgb(22, 32, 121)
HSLhsl(234, 69%, 28%)
HSVhsv(234, 82%, 47%)
CMYKcmyk(81.8%, 73.6%, 0%, 52.5%)
CIE-LABlab(18.29, 30.31, -51.36)
CIE-LCHlch(18.29, 59.64, 300.55°)
OKLaboklab(30.81% -0.0014 -0.1488)
OKLCHoklch(30.81% 0.149 269.5)
XYZxyz(4.2974, 2.5836, 18.3576)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162079 #796F16
analogous
#165279 #162079 #3D1679
triadic
#162079 #791620 #207916
tetradic
#162079 #791652 #796F16 #16793D
square
#162079 #791652 #796F16 #16793D
split-complementary
#162079 #793D16 #527916
monochromatic
#05071A #0D1245 #162079 #1F2EAD #3041D9

Accessibility & contrast

On white

13.84
#162079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162079
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162079#FFFFFF#000000##FFFFFF
##1620791.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162079;
/* rgb */ color: rgb(22, 32, 121);
/* oklch */ color: oklch(30.8% 0.149 269.5);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#162079',
    950: '#000000',
  },
}
SCSS
$custom: #162079;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#162079",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 233.939,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30806,
    "c": 0.14878,
    "h": 269.5
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#162079
secondary
#AEA33D
accent
#DA3CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162079

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

Preview Lab → · Contrast checker → · Palette generator →

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