#162E5B#162E5B

#162E5B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.086 H 261.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#162E5B
RGBrgb(22, 46, 91)
HSLhsl(219, 61%, 22%)
HSVhsv(219, 76%, 36%)
CMYKcmyk(75.8%, 49.5%, 0%, 64.3%)
CIE-LABlab(19.56, 8.12, -29.78)
CIE-LCHlch(19.56, 30.86, 285.25°)
OKLaboklab(30.92% -0.0125 -0.0853)
OKLCHoklch(30.92% 0.086 261.6)
XYZxyz(3.1955, 2.8796, 10.2829)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E5B #5B4316
analogous
#16515B #162E5B #20165B
triadic
#162E5B #5B162E #2E5B16
tetradic
#162E5B #5B1651 #5B4316 #165B20
square
#162E5B #5B1651 #5B4316 #165B20
split-complementary
#162E5B #5B2016 #515B16
monochromatic
#060C19 #0A152A #162E5B #22478C #2E60BE

Accessibility & contrast

On white

13.32
#162E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E5B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E5B#FFFFFF#000000##FFFFFF
##162E5B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335D
Deuteranopia (green-blind)
#092C5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162e5b;
/* rgb */ color: rgb(22, 46, 91);
/* oklch */ color: oklch(30.9% 0.086 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d668a',
    500: '#162e5b',
    950: '#000000',
  },
}
SCSS
$custom: #162e5b;
$custom-light: #5d668a;
$custom-dark: #000000;
JSON
{
  "hex": "#162e5b",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 219.13,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30916,
    "c": 0.0862,
    "h": 261.6
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#162E5B
secondary
#92743B
accent
#AC44E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #162E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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