#162B62#162B62

#162B62 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.101 H 265.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#162B62
RGBrgb(22, 43, 98)
HSLhsl(223, 63%, 24%)
HSVhsv(223, 78%, 38%)
CMYKcmyk(77.6%, 56.1%, 0%, 61.6%)
CIE-LABlab(19.14, 13.26, -35.06)
CIE-LCHlch(19.14, 37.49, 290.72°)
OKLaboklab(30.77% -0.0085 -0.1009)
OKLCHoklch(30.77% 0.101 265.2)
XYZxyz(3.3986, 2.7798, 11.9103)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B62 #624D16
analogous
#165162 #162B62 #271662
triadic
#162B62 #62162B #2B6216
tetradic
#162B62 #621651 #624D16 #166227
square
#162B62 #621651 #624D16 #166227
split-complementary
#162B62 #622716 #516216
monochromatic
#060B19 #0B1530 #162B62 #214194 #2C57C6

Accessibility & contrast

On white

13.50
#162B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B62
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B62#FFFFFF#000000##FFFFFF
##162B621.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053264
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162b62;
/* rgb */ color: rgb(22, 43, 98);
/* oklch */ color: oklch(30.8% 0.101 265.2);
Tailwind
colors: {
  custom: {
    50: '#5f638f',
    500: '#162b62',
    950: '#000000',
  },
}
SCSS
$custom: #162b62;
$custom-light: #5f638f;
$custom-dark: #000000;
JSON
{
  "hex": "#162b62",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 223.421,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30767,
    "c": 0.10126,
    "h": 265.2
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#162B62
secondary
#997F3B
accent
#B941E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162B62

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

Preview Lab → · Contrast checker → · Palette generator →

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