#162081#162081

#162081 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.159 H 269.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#162081
RGBrgb(22, 32, 129)
HSLhsl(234, 71%, 30%)
HSVhsv(234, 83%, 51%)
CMYKcmyk(82.9%, 75.2%, 0%, 49.4%)
CIE-LABlab(19.17, 33.31, -55.00)
CIE-LCHlch(19.17, 64.30, 301.20°)
OKLaboklab(31.7% -0.0024 -0.1593)
OKLCHoklch(31.7% 0.159 269.1)
XYZxyz(4.8085, 2.7880, 21.0493)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162081 #817716
analogous
#165581 #162081 #421681
triadic
#162081 #811620 #208116
tetradic
#162081 #811655 #817716 #168142
square
#162081 #811655 #817716 #168142
split-complementary
#162081 #814216 #558116
monochromatic
#04061A #0D134D #162081 #1F2DB5 #3545DD

Accessibility & contrast

On white

13.48
#162081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162081
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162081#FFFFFF#000000##FFFFFF
##1620811.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162081;
/* rgb */ color: rgb(22, 32, 129);
/* oklch */ color: oklch(31.7% 0.159 269.1);
Tailwind
colors: {
  custom: {
    50: '#695ca7',
    500: '#162081',
    950: '#000000',
  },
}
SCSS
$custom: #162081;
$custom-light: #695ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#162081",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 234.393,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31702,
    "c": 0.15937,
    "h": 269.1
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#162081
secondary
#B6AA3D
accent
#DD3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #162081

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

Preview Lab → · Contrast checker → · Palette generator →

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