#162F59#162F59

#162F59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.082 H 260.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#162F59
RGBrgb(22, 47, 89)
HSLhsl(218, 60%, 22%)
HSVhsv(218, 75%, 35%)
CMYKcmyk(75.3%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.74, 6.56, -28.16)
CIE-LCHlch(19.74, 28.91, 283.11°)
OKLaboklab(31.01% -0.014 -0.0805)
OKLCHoklch(31.01% 0.082 260.1)
XYZxyz(3.1499, 2.9245, 9.8477)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F59 #594016
analogous
#165159 #162F59 #1F1659
triadic
#162F59 #59162F #2F5916
tetradic
#162F59 #591651 #594016 #16591F
square
#162F59 #591651 #594016 #16591F
split-complementary
#162F59 #591F16 #515916
monochromatic
#060D19 #0A1528 #162F59 #22498A #2E63BB

Accessibility & contrast

On white

13.25
#162F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F59
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F59#FFFFFF#000000##FFFFFF
##162F591.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335B
Deuteranopia (green-blind)
#0F2D58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162f59;
/* rgb */ color: rgb(22, 47, 89);
/* oklch */ color: oklch(31.0% 0.082 260.1);
Tailwind
colors: {
  custom: {
    50: '#5d6788',
    500: '#162f59',
    950: '#000000',
  },
}
SCSS
$custom: #162f59;
$custom-light: #5d6788;
$custom-dark: #000000;
JSON
{
  "hex": "#162f59",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 217.612,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31013,
    "c": 0.08171,
    "h": 260.1
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#162F59
secondary
#90703B
accent
#A844E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #162F59

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

Preview Lab → · Contrast checker → · Palette generator →

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