#162B5D#162B5D

#162B5D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.093 H 264.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#162B5D
RGBrgb(22, 43, 93)
HSLhsl(222, 62%, 23%)
HSVhsv(222, 76%, 36%)
CMYKcmyk(76.3%, 53.8%, 0%, 63.5%)
CIE-LABlab(18.75, 11.16, -32.40)
CIE-LCHlch(18.75, 34.26, 289.01°)
OKLaboklab(30.35% -0.0092 -0.093)
OKLCHoklch(30.35% 0.094 264.4)
XYZxyz(3.1698, 2.6883, 10.7056)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B5D #5D4816
analogous
#164E5D #162B5D #25165D
triadic
#162B5D #5D162B #2B5D16
tetradic
#162B5D #5D164E #5D4816 #165D25
square
#162B5D #5D164E #5D4816 #165D25
split-complementary
#162B5D #5D2516 #4E5D16
monochromatic
#060B19 #0A142C #162B5D #22428E #2D59C0

Accessibility & contrast

On white

13.66
#162B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B5D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B5D#FFFFFF#000000##FFFFFF
##162B5D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162b5d;
/* rgb */ color: rgb(22, 43, 93);
/* oklch */ color: oklch(30.3% 0.093 264.4);
Tailwind
colors: {
  custom: {
    50: '#5e638b',
    500: '#162b5d',
    950: '#000000',
  },
}
SCSS
$custom: #162b5d;
$custom-light: #5e638b;
$custom-dark: #000000;
JSON
{
  "hex": "#162b5d",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 222.254,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30347,
    "c": 0.0935,
    "h": 264.4
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#162B5D
secondary
#947A3B
accent
#B543E5
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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