#162D60#162D60

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

Color values

HEX#162D60
RGBrgb(22, 45, 96)
HSLhsl(221, 63%, 23%)
HSVhsv(221, 77%, 38%)
CMYKcmyk(77.1%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.60, 10.95, -33.00)
CIE-LCHlch(19.60, 34.77, 288.36°)
OKLaboklab(31.07% -0.0107 -0.0948)
OKLCHoklch(31.07% 0.095 263.6)
XYZxyz(3.3798, 2.8915, 11.4441)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D60 #604916
analogous
#165260 #162D60 #241660
triadic
#162D60 #60162D #2D6016
tetradic
#162D60 #601652 #604916 #166024
square
#162D60 #601652 #604916 #166024
split-complementary
#162D60 #602416 #526016
monochromatic
#060C19 #0B162E #162D60 #214492 #2D5CC4

Accessibility & contrast

On white

13.30
#162D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D60
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D60#FFFFFF#000000##FFFFFF
##162D601.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3362
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162d60;
/* rgb */ color: rgb(22, 45, 96);
/* oklch */ color: oklch(31.1% 0.095 263.6);
Tailwind
colors: {
  custom: {
    50: '#5f658d',
    500: '#162d60',
    950: '#000000',
  },
}
SCSS
$custom: #162d60;
$custom-light: #5f658d;
$custom-dark: #000000;
JSON
{
  "hex": "#162d60",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 221.351,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31071,
    "c": 0.09538,
    "h": 263.6
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#162D60
secondary
#977A3B
accent
#B342E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162D60

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

Preview Lab → · Contrast checker → · Palette generator →

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