#162C61#162C61

#162C61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.098 H 264.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#162C61
RGBrgb(22, 44, 97)
HSLhsl(222, 63%, 23%)
HSVhsv(222, 77%, 38%)
CMYKcmyk(77.3%, 54.6%, 0%, 62%)
CIE-LABlab(19.37, 12.11, -34.04)
CIE-LCHlch(19.37, 36.13, 289.58°)
OKLaboklab(30.92% -0.0096 -0.0979)
OKLCHoklch(30.92% 0.098 264.4)
XYZxyz(3.3885, 2.8346, 11.6755)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C61 #614B16
analogous
#165161 #162C61 #251661
triadic
#162C61 #61162C #2C6116
tetradic
#162C61 #611651 #614B16 #166125
square
#162C61 #611651 #614B16 #166125
split-complementary
#162C61 #612516 #516116
monochromatic
#060B19 #0B152F #162C61 #214393 #2D59C5

Accessibility & contrast

On white

13.40
#162C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C61
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C61#FFFFFF#000000##FFFFFF
##162C611.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162c61;
/* rgb */ color: rgb(22, 44, 97);
/* oklch */ color: oklch(30.9% 0.098 264.4);
Tailwind
colors: {
  custom: {
    50: '#5f648e',
    500: '#162c61',
    950: '#000000',
  },
}
SCSS
$custom: #162c61;
$custom-light: #5f648e;
$custom-dark: #000000;
JSON
{
  "hex": "#162c61",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 222.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30917,
    "c": 0.09832,
    "h": 264.4
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#162C61
secondary
#987D3B
accent
#B642E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162C61

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

Preview Lab → · Contrast checker → · Palette generator →

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