#162E84#162E84

#162E84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.147 H 266.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#162E84
RGBrgb(22, 46, 132)
HSLhsl(227, 71%, 30%)
HSVhsv(227, 83%, 52%)
CMYKcmyk(83.3%, 65.2%, 0%, 48.2%)
CIE-LABlab(22.96, 25.11, -50.65)
CIE-LCHlch(22.96, 56.54, 296.37°)
OKLaboklab(34.55% -0.0095 -0.1466)
OKLCHoklch(34.55% 0.147 266.3)
XYZxyz(5.4713, 3.7899, 22.2685)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E84 #846C16
analogous
#166584 #162E84 #351684
triadic
#162E84 #84162E #2E8416
tetradic
#162E84 #841665 #846C16 #168435
square
#162E84 #841665 #846C16 #168435
split-complementary
#162E84 #843516 #658416
monochromatic
#05091B #0D1C50 #162E84 #1F40B8 #375BDE

Accessibility & contrast

On white

11.94
#162E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#162E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E84
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E84#FFFFFF#000000##FFFFFF
##162E841.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #162e84;
/* rgb */ color: rgb(22, 46, 132);
/* oklch */ color: oklch(34.6% 0.147 266.3);
Tailwind
colors: {
  custom: {
    50: '#6866a9',
    500: '#162e84',
    950: '#000000',
  },
}
SCSS
$custom: #162e84;
$custom-light: #6866a9;
$custom-dark: #000000;
JSON
{
  "hex": "#162e84",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 226.909,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.14693,
    "h": 266.3
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#162E84
secondary
#B89E3D
accent
#C73AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #162E84

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

Preview Lab → · Contrast checker → · Palette generator →

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