#162E52#162E52

#162E52 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.072 H 258.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#162E52
RGBrgb(22, 46, 82)
HSLhsl(216, 58%, 20%)
HSVhsv(216, 73%, 32%)
CMYKcmyk(73.2%, 43.9%, 0%, 67.8%)
CIE-LABlab(18.94, 4.36, -24.76)
CIE-LCHlch(18.94, 25.14, 279.99°)
OKLaboklab(30.25% -0.0145 -0.0705)
OKLCHoklch(30.25% 0.072 258.4)
XYZxyz(2.8303, 2.7335, 8.3595)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E52 #523A16
analogous
#164C52 #162E52 #1C1652
triadic
#162E52 #52162E #2E5216
tetradic
#162E52 #52164C #523A16 #16521C
square
#162E52 #52164C #523A16 #16521C
split-complementary
#162E52 #521C16 #4C5216
monochromatic
#060E18 #091322 #162E52 #234982 #3064B3

Accessibility & contrast

On white

13.58
#162E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E52
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E52#FFFFFF#000000##FFFFFF
##162E521.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3153
Deuteranopia (green-blind)
#142B51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e52;
/* rgb */ color: rgb(22, 46, 82);
/* oklch */ color: oklch(30.2% 0.072 258.4);
Tailwind
colors: {
  custom: {
    50: '#5b6683',
    500: '#162e52',
    950: '#000000',
  },
}
SCSS
$custom: #162e52;
$custom-light: #5b6683;
$custom-dark: #000000;
JSON
{
  "hex": "#162e52",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 216,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30246,
    "c": 0.07201,
    "h": 258.4
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#162E52
secondary
#896A3A
accent
#A347E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162E52

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

Preview Lab → · Contrast checker → · Palette generator →

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