#162B53#162B53

#162B53 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.078 H 261.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#162B53
RGBrgb(22, 43, 83)
HSLhsl(219, 58%, 21%)
HSVhsv(219, 73%, 33%)
CMYKcmyk(73.5%, 48.2%, 0%, 67.5%)
CIE-LABlab(18.02, 6.96, -26.90)
CIE-LCHlch(18.02, 27.79, 284.51°)
OKLaboklab(29.55% -0.0109 -0.0769)
OKLCHoklch(29.55% 0.078 261.9)
XYZxyz(2.7555, 2.5226, 8.5236)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B53 #533E16
analogous
#164953 #162B53 #1F1653
triadic
#162B53 #53162B #2B5316
tetradic
#162B53 #531649 #533E16 #16531F
square
#162B53 #531649 #533E16 #16531F
split-complementary
#162B53 #531F16 #495316
monochromatic
#060D18 #091223 #162B53 #234483 #305DB4

Accessibility & contrast

On white

13.96
#162B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B53
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B53#FFFFFF#000000##FFFFFF
##162B531.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#0D2952
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162b53;
/* rgb */ color: rgb(22, 43, 83);
/* oklch */ color: oklch(29.6% 0.078 261.9);
Tailwind
colors: {
  custom: {
    50: '#5b6384',
    500: '#162b53',
    950: '#000000',
  },
}
SCSS
$custom: #162b53;
$custom-light: #5b6384;
$custom-dark: #000000;
JSON
{
  "hex": "#162b53",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 219.344,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29554,
    "c": 0.07765,
    "h": 261.9
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#162B53
secondary
#8A6F3A
accent
#AC46E1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162B53

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

Preview Lab → · Contrast checker → · Palette generator →

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