#162E9E#162E9E

#162E9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.181 H 266.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#162E9E
RGBrgb(22, 46, 158)
HSLhsl(229, 76%, 35%)
HSVhsv(229, 86%, 62%)
CMYKcmyk(86.1%, 70.9%, 0%, 38%)
CIE-LABlab(25.54, 35.19, -62.50)
CIE-LCHlch(25.54, 71.72, 299.38°)
OKLaboklab(37.22% -0.0108 -0.1812)
OKLCHoklch(37.22% 0.182 266.6)
XYZxyz(7.4773, 4.5923, 32.8334)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E9E #9E8616
analogous
#16729E #162E9E #42169E
triadic
#162E9E #9E162E #2E9E16
tetradic
#162E9E #9E1672 #9E8616 #169E42
square
#162E9E #9E1672 #9E8616 #169E42
split-complementary
#162E9E #9E4216 #729E16
monochromatic
#070F33 #0F1E68 #162E9E #1D3ED4 #4964E6

Accessibility & contrast

On white

10.95
#162E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#162E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E9E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E9E#FFFFFF#000000##FFFFFF
##162E9E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #162e9e;
/* rgb */ color: rgb(22, 46, 158);
/* oklch */ color: oklch(37.2% 0.181 266.6);
Tailwind
colors: {
  custom: {
    50: '#7067bc',
    500: '#162e9e',
    950: '#000000',
  },
}
SCSS
$custom: #162e9e;
$custom-light: #7067bc;
$custom-dark: #000000;
JSON
{
  "hex": "#162e9e",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 229.412,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37218,
    "c": 0.1815,
    "h": 266.6
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#162E9E
secondary
#C7B149
accent
#D136F2
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #162E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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