#162C62#162C62

#162C62 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.100 H 264.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#162C62
RGBrgb(22, 44, 98)
HSLhsl(223, 63%, 24%)
HSVhsv(223, 78%, 38%)
CMYKcmyk(77.6%, 55.1%, 0%, 61.6%)
CIE-LABlab(19.45, 12.53, -34.57)
CIE-LCHlch(19.45, 36.77, 289.92°)
OKLaboklab(31% -0.0095 -0.0994)
OKLCHoklch(31% 0.1 264.6)
XYZxyz(3.4354, 2.8534, 11.9226)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C62 #624C16
analogous
#165262 #162C62 #261662
triadic
#162C62 #62162C #2C6216
tetradic
#162C62 #621652 #624C16 #166226
square
#162C62 #621652 #624C16 #166226
split-complementary
#162C62 #622616 #526216
monochromatic
#060B19 #0B1630 #162C62 #214294 #2C59C6

Accessibility & contrast

On white

13.37
#162C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C62
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C62#FFFFFF#000000##FFFFFF
##162C621.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093364
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162c62;
/* rgb */ color: rgb(22, 44, 98);
/* oklch */ color: oklch(31.0% 0.100 264.6);
Tailwind
colors: {
  custom: {
    50: '#5f648f',
    500: '#162c62',
    950: '#000000',
  },
}
SCSS
$custom: #162c62;
$custom-light: #5f648f;
$custom-dark: #000000;
JSON
{
  "hex": "#162c62",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 222.632,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31001,
    "c": 0.09987,
    "h": 264.6
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#162C62
secondary
#997E3B
accent
#B741E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162C62

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

Preview Lab → · Contrast checker → · Palette generator →

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