#162F62#162F62

#162F62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.096 H 262.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#162F62
RGBrgb(22, 47, 98)
HSLhsl(220, 63%, 24%)
HSVhsv(220, 78%, 38%)
CMYKcmyk(77.6%, 52%, 0%, 61.6%)
CIE-LABlab(20.38, 10.34, -33.06)
CIE-LCHlch(20.38, 34.64, 287.36°)
OKLaboklab(31.71% -0.0123 -0.0949)
OKLCHoklch(31.71% 0.096 262.6)
XYZxyz(3.5512, 3.0851, 11.9612)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F62 #624916
analogous
#165562 #162F62 #231662
triadic
#162F62 #62162F #2F6216
tetradic
#162F62 #621655 #624916 #166223
square
#162F62 #621655 #624916 #166223
split-complementary
#162F62 #622316 #556216
monochromatic
#060C19 #0B1730 #162F62 #214794 #2C5FC6

Accessibility & contrast

On white

12.99
#162F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F62
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F62#FFFFFF#000000##FFFFFF
##162F621.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123564
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162f62;
/* rgb */ color: rgb(22, 47, 98);
/* oklch */ color: oklch(31.7% 0.096 262.6);
Tailwind
colors: {
  custom: {
    50: '#5f678f',
    500: '#162f62',
    950: '#000000',
  },
}
SCSS
$custom: #162f62;
$custom-light: #5f678f;
$custom-dark: #000000;
JSON
{
  "hex": "#162f62",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 220.263,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31713,
    "c": 0.09572,
    "h": 262.6
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#162F62
secondary
#997A3B
accent
#B041E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #162F62

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

Preview Lab → · Contrast checker → · Palette generator →

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