#162F57#162F57

#162F57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.079 H 259.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#162F57
RGBrgb(22, 47, 87)
HSLhsl(217, 60%, 21%)
HSVhsv(217, 75%, 34%)
CMYKcmyk(74.7%, 46%, 0%, 65.9%)
CIE-LABlab(19.60, 5.72, -27.04)
CIE-LCHlch(19.60, 27.64, 281.94°)
OKLaboklab(30.86% -0.0144 -0.0772)
OKLCHoklch(30.86% 0.079 259.4)
XYZxyz(3.0671, 2.8914, 9.4114)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F57 #573E16
analogous
#165057 #162F57 #1E1657
triadic
#162F57 #57162F #2F5716
tetradic
#162F57 #571650 #573E16 #16571E
square
#162F57 #571650 #573E16 #16571E
split-complementary
#162F57 #571E16 #505716
monochromatic
#060D18 #0A1526 #162F57 #224988 #2F64B9

Accessibility & contrast

On white

13.30
#162F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F57
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F57#FFFFFF#000000##FFFFFF
##162F571.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#112D56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f57;
/* rgb */ color: rgb(22, 47, 87);
/* oklch */ color: oklch(30.9% 0.079 259.4);
Tailwind
colors: {
  custom: {
    50: '#5c6787',
    500: '#162f57',
    950: '#000000',
  },
}
SCSS
$custom: #162f57;
$custom-light: #5c6787;
$custom-dark: #000000;
JSON
{
  "hex": "#162f57",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 216.923,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30864,
    "c": 0.07857,
    "h": 259.4
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#162F57
secondary
#8E6E3A
accent
#A645E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #162F57

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

Preview Lab → · Contrast checker → · Palette generator →

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