#162E54#162E54

#162E54 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.075 H 259.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#162E54
RGBrgb(22, 46, 84)
HSLhsl(217, 58%, 21%)
HSVhsv(217, 74%, 33%)
CMYKcmyk(73.8%, 45.2%, 0%, 67.1%)
CIE-LABlab(19.07, 5.19, -25.89)
CIE-LCHlch(19.07, 26.40, 281.34°)
OKLaboklab(30.39% -0.014 -0.0738)
OKLCHoklch(30.39% 0.075 259.2)
XYZxyz(2.9075, 2.7644, 8.7661)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E54 #543C16
analogous
#164D54 #162E54 #1D1654
triadic
#162E54 #54162E #2E5416
tetradic
#162E54 #54164D #543C16 #16541D
square
#162E54 #54164D #543C16 #16541D
split-complementary
#162E54 #541D16 #4D5416
monochromatic
#060D18 #091324 #162E54 #234984 #2F63B5

Accessibility & contrast

On white

13.52
#162E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E54
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E54#FFFFFF#000000##FFFFFF
##162E541.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3155
Deuteranopia (green-blind)
#122C53
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162e54;
/* rgb */ color: rgb(22, 46, 84);
/* oklch */ color: oklch(30.4% 0.075 259.2);
Tailwind
colors: {
  custom: {
    50: '#5c6684',
    500: '#162e54',
    950: '#000000',
  },
}
SCSS
$custom: #162e54;
$custom-light: #5c6684;
$custom-dark: #000000;
JSON
{
  "hex": "#162e54",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 216.774,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3039,
    "c": 0.07517,
    "h": 259.2
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#162E54
secondary
#8B6C3A
accent
#A546E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162E54

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

Preview Lab → · Contrast checker → · Palette generator →

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