#162E62#162E62

#162E62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.097 H 263.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#162E62
RGBrgb(22, 46, 98)
HSLhsl(221, 63%, 24%)
HSVhsv(221, 78%, 38%)
CMYKcmyk(77.6%, 53.1%, 0%, 61.6%)
CIE-LABlab(20.07, 11.07, -33.56)
CIE-LCHlch(20.07, 35.34, 288.25°)
OKLaboklab(31.47% -0.0114 -0.0964)
OKLCHoklch(31.47% 0.097 263.3)
XYZxyz(3.5117, 3.0060, 11.9481)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E62 #624A16
analogous
#165462 #162E62 #241662
triadic
#162E62 #62162E #2E6216
tetradic
#162E62 #621654 #624A16 #166224
square
#162E62 #621654 #624A16 #166224
split-complementary
#162E62 #622416 #546216
monochromatic
#060C19 #0B1730 #162E62 #214594 #2C5DC6

Accessibility & contrast

On white

13.12
#162E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E62
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E62#FFFFFF#000000##FFFFFF
##162E621.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3464
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162e62;
/* rgb */ color: rgb(22, 46, 98);
/* oklch */ color: oklch(31.5% 0.097 263.3);
Tailwind
colors: {
  custom: {
    50: '#5f668f',
    500: '#162e62',
    950: '#000000',
  },
}
SCSS
$custom: #162e62;
$custom-light: #5f668f;
$custom-dark: #000000;
JSON
{
  "hex": "#162e62",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 221.053,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31474,
    "c": 0.0971,
    "h": 263.3
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#162E62
secondary
#997B3B
accent
#B241E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #162E62

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

Preview Lab → · Contrast checker → · Palette generator →

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