#162D53#162D53

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

Color values

HEX#162D53
RGBrgb(22, 45, 83)
HSLhsl(217, 58%, 21%)
HSVhsv(217, 73%, 33%)
CMYKcmyk(73.5%, 45.8%, 0%, 67.5%)
CIE-LABlab(18.68, 5.50, -25.85)
CIE-LCHlch(18.68, 26.43, 282.01°)
OKLaboklab(30.06% -0.0131 -0.0738)
OKLCHoklch(30.06% 0.075 259.9)
XYZxyz(2.8300, 2.6716, 8.5485)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D53 #533C16
analogous
#164B53 #162D53 #1D1653
triadic
#162D53 #53162D #2D5316
tetradic
#162D53 #53164B #533C16 #16531D
square
#162D53 #53164B #533C16 #16531D
split-complementary
#162D53 #531D16 #4B5316
monochromatic
#060D18 #091323 #162D53 #234783 #3061B4

Accessibility & contrast

On white

13.69
#162D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D53
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D53#FFFFFF#000000##FFFFFF
##162D531.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3154
Deuteranopia (green-blind)
#112B52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162d53;
/* rgb */ color: rgb(22, 45, 83);
/* oklch */ color: oklch(30.1% 0.075 259.9);
Tailwind
colors: {
  custom: {
    50: '#5b6583',
    500: '#162d53',
    950: '#000000',
  },
}
SCSS
$custom: #162d53;
$custom-light: #5b6583;
$custom-dark: #000000;
JSON
{
  "hex": "#162d53",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 217.377,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30061,
    "c": 0.07492,
    "h": 259.9
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#162D53
secondary
#8A6C3A
accent
#A746E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162D53

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

Preview Lab → · Contrast checker → · Palette generator →

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