#162EA1#162EA1

#162EA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.185 H 266.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#162EA1
RGBrgb(22, 46, 161)
HSLhsl(230, 76%, 36%)
HSVhsv(230, 86%, 63%)
CMYKcmyk(86.3%, 71.4%, 0%, 36.9%)
CIE-LABlab(25.85, 36.31, -63.80)
CIE-LCHlch(25.85, 73.41, 299.64°)
OKLaboklab(37.54% -0.011 -0.185)
OKLCHoklch(37.54% 0.185 266.6)
XYZxyz(7.7386, 4.6968, 34.2100)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162EA1 #A18916
analogous
#1673A1 #162EA1 #4316A1
triadic
#162EA1 #A1162E #2EA116
tetradic
#162EA1 #A11673 #A18916 #16A143
square
#162EA1 #A11673 #A18916 #16A143
split-complementary
#162EA1 #A14316 #73A116
monochromatic
#070F35 #0F1F6B #162EA1 #1D3DD7 #4B66E6

Accessibility & contrast

On white

10.83
#162EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#162EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162EA1
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162EA1#FFFFFF#000000##FFFFFF
##162EA11.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #162ea1;
/* rgb */ color: rgb(22, 46, 161);
/* oklch */ color: oklch(37.5% 0.185 266.6);
Tailwind
colors: {
  custom: {
    50: '#7167be',
    500: '#162ea1',
    950: '#000000',
  },
}
SCSS
$custom: #162ea1;
$custom-light: #7167be;
$custom-dark: #000000;
JSON
{
  "hex": "#162ea1",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 229.64,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37538,
    "c": 0.18532,
    "h": 266.6
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#162EA1
secondary
#C8B24B
accent
#D235F3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #162EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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