#162B50#162B50

#162B50 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.073 H 260.9°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#162B50
RGBrgb(22, 43, 80)
HSLhsl(218, 57%, 20%)
HSVhsv(218, 73%, 31%)
CMYKcmyk(72.5%, 46.2%, 0%, 68.6%)
CIE-LABlab(17.82, 5.71, -25.21)
CIE-LCHlch(17.82, 25.85, 282.76°)
OKLaboklab(29.33% -0.0115 -0.0719)
OKLCHoklch(29.33% 0.073 260.9)
XYZxyz(2.6422, 2.4773, 7.9268)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B50 #503B16
analogous
#164850 #162B50 #1E1650
triadic
#162B50 #50162B #2B5016
tetradic
#162B50 #501648 #503B16 #16501E
square
#162B50 #501648 #503B16 #16501E
split-complementary
#162B50 #501E16 #485016
monochromatic
#070D18 #091120 #162B50 #234580 #305FB0

Accessibility & contrast

On white

14.04
#162B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B50
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B50#FFFFFF#000000##FFFFFF
##162B501.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F51
Deuteranopia (green-blind)
#11294F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162b50;
/* rgb */ color: rgb(22, 43, 80);
/* oklch */ color: oklch(29.3% 0.073 260.9);
Tailwind
colors: {
  custom: {
    50: '#5b6381',
    500: '#162b50',
    950: '#000000',
  },
}
SCSS
$custom: #162b50;
$custom-light: #5b6381;
$custom-dark: #000000;
JSON
{
  "hex": "#162b50",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 80
  },
  "hsl": {
    "h": 218.276,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.2933,
    "c": 0.07283,
    "h": 260.9
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#162B50
secondary
#876C3A
accent
#A948E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162B50

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

Preview Lab → · Contrast checker → · Palette generator →

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