#162C60#162C60

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

Color values

HEX#162C60
RGBrgb(22, 44, 96)
HSLhsl(222, 63%, 23%)
HSVhsv(222, 77%, 38%)
CMYKcmyk(77.1%, 54.2%, 0%, 62.4%)
CIE-LABlab(19.29, 11.69, -33.50)
CIE-LCHlch(19.29, 35.48, 289.23°)
OKLaboklab(30.83% -0.0097 -0.0963)
OKLCHoklch(30.83% 0.097 264.2)
XYZxyz(3.3421, 2.8161, 11.4315)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C60 #604A16
analogous
#165160 #162C60 #251660
triadic
#162C60 #60162C #2C6016
tetradic
#162C60 #601651 #604A16 #166025
square
#162C60 #601651 #604A16 #166025
split-complementary
#162C60 #602516 #516016
monochromatic
#060B19 #0B152E #162C60 #214392 #2D5AC4

Accessibility & contrast

On white

13.43
#162C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C60
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C60#FFFFFF#000000##FFFFFF
##162C601.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162c60;
/* rgb */ color: rgb(22, 44, 96);
/* oklch */ color: oklch(30.8% 0.097 264.2);
Tailwind
colors: {
  custom: {
    50: '#5f648e',
    500: '#162c60',
    950: '#000000',
  },
}
SCSS
$custom: #162c60;
$custom-light: #5f648e;
$custom-dark: #000000;
JSON
{
  "hex": "#162c60",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 222.162,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.09677,
    "h": 264.2
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#162C60
secondary
#977C3B
accent
#B542E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162C60

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

Preview Lab → · Contrast checker → · Palette generator →

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