#162E57#162E57

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

Color values

HEX#162E57
RGBrgb(22, 46, 87)
HSLhsl(218, 60%, 21%)
HSVhsv(218, 75%, 34%)
CMYKcmyk(74.7%, 47.1%, 0%, 65.9%)
CIE-LABlab(19.28, 6.44, -27.57)
CIE-LCHlch(19.28, 28.31, 283.16°)
OKLaboklab(30.61% -0.0133 -0.0788)
OKLCHoklch(30.61% 0.08 260.4)
XYZxyz(3.0276, 2.8124, 9.3983)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E57 #573F16
analogous
#164F57 #162E57 #1F1657
triadic
#162E57 #57162E #2E5716
tetradic
#162E57 #57164F #573F16 #16571F
square
#162E57 #57164F #573F16 #16571F
split-complementary
#162E57 #571F16 #4F5716
monochromatic
#060D18 #0A1426 #162E57 #224888 #2F62B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162E57#FFFFFF#000000##FFFFFF
##162E571.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)
#1A3259
Deuteranopia (green-blind)
#0F2C56
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162e57;
/* rgb */ color: rgb(22, 46, 87);
/* oklch */ color: oklch(30.6% 0.080 260.4);
Tailwind
colors: {
  custom: {
    50: '#5c6687',
    500: '#162e57',
    950: '#000000',
  },
}
SCSS
$custom: #162e57;
$custom-light: #5c6687;
$custom-dark: #000000;
JSON
{
  "hex": "#162e57",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 217.846,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30611,
    "c": 0.07991,
    "h": 260.4
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#162E57
secondary
#8E6F3A
accent
#A945E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #162E57

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

Preview Lab → · Contrast checker → · Palette generator →

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