#162B5B#162B5B

#162B5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.090 H 264.0°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#162B5B
RGBrgb(22, 43, 91)
HSLhsl(222, 61%, 22%)
HSVhsv(222, 76%, 36%)
CMYKcmyk(75.8%, 52.7%, 0%, 64.3%)
CIE-LABlab(18.60, 10.32, -31.31)
CIE-LCHlch(18.60, 32.97, 288.24°)
OKLaboklab(30.18% -0.0094 -0.0899)
OKLCHoklch(30.18% 0.09 264)
XYZxyz(3.0824, 2.6533, 10.2452)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B5B #5B4616
analogous
#164E5B #162B5B #24165B
triadic
#162B5B #5B162B #2B5B16
tetradic
#162B5B #5B164E #5B4616 #165B24
square
#162B5B #5B164E #5B4616 #165B24
split-complementary
#162B5B #5B2416 #4E5B16
monochromatic
#060C19 #0A142A #162B5B #22428C #2E5ABE

Accessibility & contrast

On white

13.72
#162B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B5B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B5B#FFFFFF#000000##FFFFFF
##162B5B1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162b5b;
/* rgb */ color: rgb(22, 43, 91);
/* oklch */ color: oklch(30.2% 0.090 264.0);
Tailwind
colors: {
  custom: {
    50: '#5d638a',
    500: '#162b5b',
    950: '#000000',
  },
}
SCSS
$custom: #162b5b;
$custom-light: #5d638a;
$custom-dark: #000000;
JSON
{
  "hex": "#162b5b",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 221.739,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30183,
    "c": 0.09036,
    "h": 264
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#162B5B
secondary
#92783B
accent
#B344E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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