#162D54#162D54

#162D54 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.077 H 260.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#162D54
RGBrgb(22, 45, 84)
HSLhsl(218, 58%, 21%)
HSVhsv(218, 74%, 33%)
CMYKcmyk(73.8%, 46.4%, 0%, 67.1%)
CIE-LABlab(18.74, 5.92, -26.41)
CIE-LCHlch(18.74, 27.07, 282.62°)
OKLaboklab(30.14% -0.0129 -0.0754)
OKLCHoklch(30.14% 0.077 260.3)
XYZxyz(2.8689, 2.6872, 8.7533)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D54 #543D16
analogous
#164C54 #162D54 #1E1654
triadic
#162D54 #54162D #2D5416
tetradic
#162D54 #54164C #543D16 #16541E
square
#162D54 #54164C #543D16 #16541E
split-complementary
#162D54 #541E16 #4C5416
monochromatic
#060D18 #091324 #162D54 #234784 #2F61B5

Accessibility & contrast

On white

13.66
#162D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D54
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D54#FFFFFF#000000##FFFFFF
##162D541.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3156
Deuteranopia (green-blind)
#102B53
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162d54;
/* rgb */ color: rgb(22, 45, 84);
/* oklch */ color: oklch(30.1% 0.077 260.3);
Tailwind
colors: {
  custom: {
    50: '#5c6584',
    500: '#162d54',
    950: '#000000',
  },
}
SCSS
$custom: #162d54;
$custom-light: #5c6584;
$custom-dark: #000000;
JSON
{
  "hex": "#162d54",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 217.742,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30135,
    "c": 0.07651,
    "h": 260.3
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#162D54
secondary
#8B6D3A
accent
#A846E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162D54

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

Preview Lab → · Contrast checker → · Palette generator →

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