#162E93#162E93

#162E93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.167 H 266.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#162E93
RGBrgb(22, 46, 147)
HSLhsl(228, 74%, 33%)
HSVhsv(228, 85%, 58%)
CMYKcmyk(85%, 68.7%, 0%, 42.4%)
CIE-LABlab(24.42, 31.01, -57.60)
CIE-LCHlch(24.42, 65.42, 298.30°)
OKLaboklab(36.07% -0.01 -0.1669)
OKLCHoklch(36.07% 0.167 266.6)
XYZxyz(6.5725, 4.2303, 28.0682)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E93 #937B16
analogous
#166C93 #162E93 #3C1693
triadic
#162E93 #93162E #2E9316
tetradic
#162E93 #93166C #937B16 #16933C
square
#162E93 #93166C #937B16 #16933C
split-complementary
#162E93 #933C16 #6C9316
monochromatic
#060D29 #0E1D5E #162E93 #1E3FC8 #4160E3

Accessibility & contrast

On white

11.37
#162E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#162E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E93
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E93#FFFFFF#000000##FFFFFF
##162E931.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #162e93;
/* rgb */ color: rgb(22, 46, 147);
/* oklch */ color: oklch(36.1% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d66b4',
    500: '#162e93',
    950: '#000000',
  },
}
SCSS
$custom: #162e93;
$custom-light: #6d66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#162e93",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 228.48,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.16721,
    "h": 266.6
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#162E93
secondary
#C3AA42
accent
#CD37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #162E93

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

Preview Lab → · Contrast checker → · Palette generator →

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