#162E5D#162E5D

#162E5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.089 H 262.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#162E5D
RGBrgb(22, 46, 93)
HSLhsl(220, 62%, 23%)
HSVhsv(220, 76%, 36%)
CMYKcmyk(76.3%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.70, 8.96, -30.87)
CIE-LCHlch(19.70, 32.14, 286.19°)
OKLaboklab(31.07% -0.0122 -0.0885)
OKLCHoklch(31.07% 0.089 262.2)
XYZxyz(3.2830, 2.9145, 10.7433)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E5D #5D4516
analogous
#16525D #162E5D #21165D
triadic
#162E5D #5D162E #2E5D16
tetradic
#162E5D #5D1652 #5D4516 #165D21
square
#162E5D #5D1652 #5D4516 #165D21
split-complementary
#162E5D #5D2116 #525D16
monochromatic
#060C19 #0A162C #162E5D #22468E #2D5FC0

Accessibility & contrast

On white

13.27
#162E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E5D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E5D#FFFFFF#000000##FFFFFF
##162E5D1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#052D5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162e5d;
/* rgb */ color: rgb(22, 46, 93);
/* oklch */ color: oklch(31.1% 0.089 262.2);
Tailwind
colors: {
  custom: {
    50: '#5e668b',
    500: '#162e5d',
    950: '#000000',
  },
}
SCSS
$custom: #162e5d;
$custom-light: #5e668b;
$custom-dark: #000000;
JSON
{
  "hex": "#162e5d",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 219.718,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31072,
    "c": 0.08933,
    "h": 262.2
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#162E5D
secondary
#94763B
accent
#AE43E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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