#162072#162072

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

Color values

HEX#162072
RGBrgb(22, 32, 114)
HSLhsl(233, 68%, 27%)
HSVhsv(233, 81%, 45%)
CMYKcmyk(80.7%, 71.9%, 0%, 55.3%)
CIE-LABlab(17.54, 27.63, -48.10)
CIE-LCHlch(17.54, 55.47, 299.87°)
OKLaboklab(30.04% -0.0006 -0.1392)
OKLCHoklch(30.04% 0.139 269.8)
XYZxyz(3.8836, 2.4181, 16.1784)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162072 #726816
analogous
#164E72 #162072 #3A1672
triadic
#162072 #721620 #207216
tetradic
#162072 #72164E #726816 #16723A
square
#162072 #72164E #726816 #16723A
split-complementary
#162072 #723A16 #4E7216
monochromatic
#05071A #0C123F #162072 #202EA5 #2C3FD6

Accessibility & contrast

On white

14.15
#162072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162072
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162072#FFFFFF#000000##FFFFFF
##1620721.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162072;
/* rgb */ color: rgb(22, 32, 114);
/* oklch */ color: oklch(30.0% 0.139 269.8);
Tailwind
colors: {
  custom: {
    50: '#655b9b',
    500: '#162072',
    950: '#000000',
  },
}
SCSS
$custom: #162072;
$custom-light: #655b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162072",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 233.478,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.13924,
    "h": 269.8
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#162072
secondary
#A89C3C
accent
#D83DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162072

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

Preview Lab → · Contrast checker → · Palette generator →

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