#162E56#162E56

#162E56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.078 H 260.0°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#162E56
RGBrgb(22, 46, 86)
HSLhsl(218, 59%, 21%)
HSVhsv(218, 74%, 34%)
CMYKcmyk(74.4%, 46.5%, 0%, 66.3%)
CIE-LABlab(19.21, 6.03, -27.01)
CIE-LCHlch(19.21, 27.67, 282.58°)
OKLaboklab(30.54% -0.0136 -0.0771)
OKLCHoklch(30.54% 0.078 260)
XYZxyz(2.9870, 2.7961, 9.1846)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E56 #563E16
analogous
#164E56 #162E56 #1E1656
triadic
#162E56 #56162E #2E5616
tetradic
#162E56 #56164E #563E16 #16561E
square
#162E56 #56164E #563E16 #16561E
split-complementary
#162E56 #561E16 #4E5616
monochromatic
#060D18 #0A1425 #162E56 #224887 #2F62B7

Accessibility & contrast

On white

13.47
#162E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E56
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E56#FFFFFF#000000##FFFFFF
##162E561.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#102C55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162e56;
/* rgb */ color: rgb(22, 46, 86);
/* oklch */ color: oklch(30.5% 0.078 260.0);
Tailwind
colors: {
  custom: {
    50: '#5c6686',
    500: '#162e56',
    950: '#000000',
  },
}
SCSS
$custom: #162e56;
$custom-light: #5c6686;
$custom-dark: #000000;
JSON
{
  "hex": "#162e56",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 217.5,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30537,
    "c": 0.07833,
    "h": 260
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#162E56
secondary
#8D6E3A
accent
#A845E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162E56

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

Preview Lab → · Contrast checker → · Palette generator →

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