#162E59#162E59

#162E59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.083 H 261.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#162E59
RGBrgb(22, 46, 89)
HSLhsl(219, 60%, 22%)
HSVhsv(219, 75%, 35%)
CMYKcmyk(75.3%, 48.3%, 0%, 65.1%)
CIE-LABlab(19.41, 7.28, -28.68)
CIE-LCHlch(19.41, 29.59, 284.25°)
OKLaboklab(30.76% -0.0129 -0.082)
OKLCHoklch(30.76% 0.083 261.1)
XYZxyz(3.1104, 2.8455, 9.8346)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E59 #594116
analogous
#165059 #162E59 #201659
triadic
#162E59 #59162E #2E5916
tetradic
#162E59 #591650 #594116 #165920
square
#162E59 #591650 #594116 #165920
split-complementary
#162E59 #592016 #505916
monochromatic
#060D19 #0A1528 #162E59 #22478A #2E61BB

Accessibility & contrast

On white

13.38
#162E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E59
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E59#FFFFFF#000000##FFFFFF
##162E591.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325B
Deuteranopia (green-blind)
#0C2C58
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162e59;
/* rgb */ color: rgb(22, 46, 89);
/* oklch */ color: oklch(30.8% 0.083 261.1);
Tailwind
colors: {
  custom: {
    50: '#5d6688',
    500: '#162e59',
    950: '#000000',
  },
}
SCSS
$custom: #162e59;
$custom-light: #5d6688;
$custom-dark: #000000;
JSON
{
  "hex": "#162e59",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 218.507,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30762,
    "c": 0.08306,
    "h": 261.1
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#162E59
secondary
#90723B
accent
#AA44E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #162E59

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

Preview Lab → · Contrast checker → · Palette generator →

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