#162F52#162F52

#162F52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.071 H 257.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#162F52
RGBrgb(22, 47, 82)
HSLhsl(215, 58%, 20%)
HSVhsv(215, 73%, 32%)
CMYKcmyk(73.2%, 42.7%, 0%, 67.8%)
CIE-LABlab(19.28, 3.64, -24.23)
CIE-LCHlch(19.28, 24.50, 278.54°)
OKLaboklab(30.51% -0.0157 -0.069)
OKLCHoklch(30.51% 0.071 257.2)
XYZxyz(2.8698, 2.8125, 8.3726)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F52 #523916
analogous
#164D52 #162F52 #1B1652
triadic
#162F52 #52162F #2F5216
tetradic
#162F52 #52164D #523916 #16521B
square
#162F52 #52164D #523916 #16521B
split-complementary
#162F52 #521B16 #4D5216
monochromatic
#060E18 #091322 #162F52 #234B82 #3066B3

Accessibility & contrast

On white

13.44
#162F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F52
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F52#FFFFFF#000000##FFFFFF
##162F521.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f52;
/* rgb */ color: rgb(22, 47, 82);
/* oklch */ color: oklch(30.5% 0.071 257.2);
Tailwind
colors: {
  custom: {
    50: '#5b6783',
    500: '#162f52',
    950: '#000000',
  },
}
SCSS
$custom: #162f52;
$custom-light: #5b6783;
$custom-dark: #000000;
JSON
{
  "hex": "#162f52",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 215,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30505,
    "c": 0.07072,
    "h": 257.2
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#162F52
secondary
#89683A
accent
#A147E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F52

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

Preview Lab → · Contrast checker → · Palette generator →

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