#162071#162071

#162071 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.138 H 269.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#162071
RGBrgb(22, 32, 113)
HSLhsl(233, 67%, 26%)
HSVhsv(233, 81%, 44%)
CMYKcmyk(80.5%, 71.7%, 0%, 55.7%)
CIE-LABlab(17.44, 27.24, -47.62)
CIE-LCHlch(17.44, 54.86, 299.77°)
OKLaboklab(29.93% -0.0005 -0.1379)
OKLCHoklch(29.93% 0.138 269.8)
XYZxyz(3.8270, 2.3954, 15.8803)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162071 #716716
analogous
#164E71 #162071 #3A1671
triadic
#162071 #711620 #207116
tetradic
#162071 #71164E #716716 #16713A
square
#162071 #71164E #716716 #16713A
split-complementary
#162071 #713A16 #4E7116
monochromatic
#05071A #0C113E #162071 #202FA4 #2C3ED6

Accessibility & contrast

On white

14.20
#162071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162071
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162071#FFFFFF#000000##FFFFFF
##1620711.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162071;
/* rgb */ color: rgb(22, 32, 113);
/* oklch */ color: oklch(29.9% 0.138 269.8);
Tailwind
colors: {
  custom: {
    50: '#645b9b',
    500: '#162071',
    950: '#000000',
  },
}
SCSS
$custom: #162071;
$custom-light: #645b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162071",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 233.407,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29932,
    "c": 0.13786,
    "h": 269.8
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#162071
secondary
#A79B3C
accent
#D73EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162071

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

Preview Lab → · Contrast checker → · Palette generator →

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