#162A50#162A50

#162A50 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.074 H 261.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#162A50
RGBrgb(22, 42, 80)
HSLhsl(219, 57%, 20%)
HSVhsv(219, 73%, 31%)
CMYKcmyk(72.5%, 47.5%, 0%, 68.6%)
CIE-LABlab(17.49, 6.44, -25.74)
CIE-LCHlch(17.49, 26.53, 284.06°)
OKLaboklab(29.08% -0.0104 -0.0735)
OKLCHoklch(29.08% 0.074 261.9)
XYZxyz(2.6063, 2.4054, 7.9148)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A50 #503C16
analogous
#164750 #162A50 #1F1650
triadic
#162A50 #50162A #2A5016
tetradic
#162A50 #501647 #503C16 #16501F
square
#162A50 #501647 #503C16 #16501F
split-complementary
#162A50 #501F16 #475016
monochromatic
#070D18 #091120 #162A50 #234380 #305CB0

Accessibility & contrast

On white

14.18
#162A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A50
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A50#FFFFFF#000000##FFFFFF
##162A501.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E51
Deuteranopia (green-blind)
#0F284F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162a50;
/* rgb */ color: rgb(22, 42, 80);
/* oklch */ color: oklch(29.1% 0.074 261.9);
Tailwind
colors: {
  custom: {
    50: '#5b6381',
    500: '#162a50',
    950: '#000000',
  },
}
SCSS
$custom: #162a50;
$custom-light: #5b6381;
$custom-dark: #000000;
JSON
{
  "hex": "#162a50",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 219.31,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.29075,
    "c": 0.0742,
    "h": 261.9
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#162A50
secondary
#876D3A
accent
#AC48E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162A50

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

Preview Lab → · Contrast checker → · Palette generator →

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