#162E8E#162E8E

#162E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.161 H 266.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#162E8E
RGBrgb(22, 46, 142)
HSLhsl(228, 73%, 32%)
HSVhsv(228, 85%, 56%)
CMYKcmyk(84.5%, 67.6%, 0%, 44.3%)
CIE-LABlab(23.92, 29.07, -55.32)
CIE-LCHlch(23.92, 62.49, 297.72°)
OKLaboklab(35.55% -0.0098 -0.1603)
OKLCHoklch(35.55% 0.161 266.5)
XYZxyz(6.1886, 4.0768, 26.0467)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E8E #8E7616
analogous
#166A8E #162E8E #3A168E
triadic
#162E8E #8E162E #2E8E16
tetradic
#162E8E #8E166A #8E7616 #168E3A
square
#162E8E #8E166A #8E7616 #168E3A
split-complementary
#162E8E #8E3A16 #6A8E16
monochromatic
#060C24 #0E1D59 #162E8E #1E3FC3 #3D5EE1

Accessibility & contrast

On white

11.57
#162E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#162E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E8E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E8E#FFFFFF#000000##FFFFFF
##162E8E1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #162e8e;
/* rgb */ color: rgb(22, 46, 142);
/* oklch */ color: oklch(35.6% 0.161 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b66b0',
    500: '#162e8e',
    950: '#000000',
  },
}
SCSS
$custom: #162e8e;
$custom-light: #6b66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#162e8e",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 228,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.16056,
    "h": 266.5
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#162E8E
secondary
#C1A73F
accent
#CB38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #162E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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