#162167#162167

#162167 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.122 H 269.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#162167
RGBrgb(22, 33, 103)
HSLhsl(232, 65%, 25%)
HSVhsv(232, 79%, 40%)
CMYKcmyk(78.6%, 68%, 0%, 59.6%)
CIE-LABlab(16.69, 22.59, -42.34)
CIE-LCHlch(16.69, 47.99, 298.08°)
OKLaboklab(29.07% -0.0003 -0.1224)
OKLCHoklch(29.07% 0.122 269.9)
XYZxyz(3.3221, 2.2372, 13.0861)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162167 #675C16
analogous
#164A67 #162167 #341667
triadic
#162167 #671621 #216716
tetradic
#162167 #67164A #675C16 #166734
square
#162167 #67164A #675C16 #166734
split-complementary
#162167 #673416 #4A6716
monochromatic
#050819 #0B1135 #162167 #213199 #2C41CC

Accessibility & contrast

On white

14.51
#162167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162167
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162167#FFFFFF#000000##FFFFFF
##1621671.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162167;
/* rgb */ color: rgb(22, 33, 103);
/* oklch */ color: oklch(29.1% 0.122 269.9);
Tailwind
colors: {
  custom: {
    50: '#615c93',
    500: '#162167',
    950: '#000000',
  },
}
SCSS
$custom: #162167;
$custom-light: #615c93;
$custom-dark: #000000;
JSON
{
  "hex": "#162167",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 231.852,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29074,
    "c": 0.12242,
    "h": 269.9
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#162167
secondary
#9E903B
accent
#D140E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162167

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

Preview Lab → · Contrast checker → · Palette generator →

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