#162E51#162E51

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

Color values

HEX#162E51
RGBrgb(22, 46, 81)
HSLhsl(216, 57%, 20%)
HSVhsv(216, 73%, 32%)
CMYKcmyk(72.8%, 43.2%, 0%, 68.2%)
CIE-LABlab(18.88, 3.94, -24.19)
CIE-LCHlch(18.88, 24.51, 279.26°)
OKLaboklab(30.18% -0.0148 -0.0689)
OKLCHoklch(30.18% 0.07 257.9)
XYZxyz(2.7925, 2.7184, 8.1605)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E51 #513916
analogous
#164C51 #162E51 #1B1651
triadic
#162E51 #51162E #2E5116
tetradic
#162E51 #51164C #513916 #16511B
square
#162E51 #51164C #513916 #16511B
split-complementary
#162E51 #511B16 #4C5116
monochromatic
#070E18 #091321 #162E51 #234981 #3065B1

Accessibility & contrast

On white

13.60
#162E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E51
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E51#FFFFFF#000000##FFFFFF
##162E511.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3152
Deuteranopia (green-blind)
#152B50
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e51;
/* rgb */ color: rgb(22, 46, 81);
/* oklch */ color: oklch(30.2% 0.070 257.9);
Tailwind
colors: {
  custom: {
    50: '#5b6682',
    500: '#162e51',
    950: '#000000',
  },
}
SCSS
$custom: #162e51;
$custom-light: #5b6682;
$custom-dark: #000000;
JSON
{
  "hex": "#162e51",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 215.593,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.07044,
    "h": 257.9
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#162E51
secondary
#88693A
accent
#A247E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #162E51

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

Preview Lab → · Contrast checker → · Palette generator →

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