#162F55#162F55

#162F55 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.075 H 258.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#162F55
RGBrgb(22, 47, 85)
HSLhsl(216, 59%, 21%)
HSVhsv(216, 74%, 33%)
CMYKcmyk(74.1%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.47, 4.89, -25.92)
CIE-LCHlch(19.47, 26.38, 280.67°)
OKLaboklab(30.72% -0.0149 -0.0739)
OKLCHoklch(30.72% 0.075 258.6)
XYZxyz(2.9865, 2.8592, 8.9871)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F55 #553C16
analogous
#164E55 #162F55 #1C1655
triadic
#162F55 #55162F #2F5516
tetradic
#162F55 #55164E #553C16 #16551C
square
#162F55 #55164E #553C16 #16551C
split-complementary
#162F55 #551C16 #4E5516
monochromatic
#060D18 #091424 #162F55 #234A86 #2F65B6

Accessibility & contrast

On white

13.36
#162F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F55
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F55#FFFFFF#000000##FFFFFF
##162F551.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f55;
/* rgb */ color: rgb(22, 47, 85);
/* oklch */ color: oklch(30.7% 0.075 258.6);
Tailwind
colors: {
  custom: {
    50: '#5c6785',
    500: '#162f55',
    950: '#000000',
  },
}
SCSS
$custom: #162f55;
$custom-light: #5c6785;
$custom-dark: #000000;
JSON
{
  "hex": "#162f55",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 216.19,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.07543,
    "h": 258.6
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#162F55
secondary
#8C6C3A
accent
#A446E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #162F55

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

Preview Lab → · Contrast checker → · Palette generator →

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