#162B70#162B70

#162B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.122 H 266.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#162B70
RGBrgb(22, 43, 112)
HSLhsl(226, 67%, 26%)
HSVhsv(226, 80%, 44%)
CMYKcmyk(80.4%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.31, 19.10, -42.27)
CIE-LCHlch(20.31, 46.38, 294.31°)
OKLaboklab(32.02% -0.0076 -0.1221)
OKLCHoklch(32.02% 0.122 266.4)
XYZxyz(4.1184, 3.0677, 15.7012)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B70 #705B16
analogous
#165870 #162B70 #2E1670
triadic
#162B70 #70162B #2B7016
tetradic
#162B70 #701658 #705B16 #16702E
square
#162B70 #701658 #705B16 #16702E
split-complementary
#162B70 #702E16 #587016
monochromatic
#050A1A #0C173D #162B70 #203FA3 #2B53D5

Accessibility & contrast

On white

13.01
#162B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B70
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B70#FFFFFF#000000##FFFFFF
##162B701.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162b70;
/* rgb */ color: rgb(22, 43, 112);
/* oklch */ color: oklch(32.0% 0.122 266.4);
Tailwind
colors: {
  custom: {
    50: '#63639a',
    500: '#162b70',
    950: '#000000',
  },
}
SCSS
$custom: #162b70;
$custom-light: #63639a;
$custom-dark: #000000;
JSON
{
  "hex": "#162b70",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 226,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3202,
    "c": 0.12232,
    "h": 266.4
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#162B70
secondary
#A68D3C
accent
#C23EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162B70

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

Preview Lab → · Contrast checker → · Palette generator →

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