#162C66#162C66

#162C66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.106 H 265.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#162C66
RGBrgb(22, 44, 102)
HSLhsl(224, 65%, 24%)
HSVhsv(224, 78%, 40%)
CMYKcmyk(78.4%, 56.9%, 0%, 60%)
CIE-LABlab(19.77, 14.21, -36.67)
CIE-LCHlch(19.77, 39.33, 291.18°)
OKLaboklab(31.34% -0.0091 -0.1056)
OKLCHoklch(31.34% 0.106 265.1)
XYZxyz(3.6290, 2.9309, 12.9423)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C66 #665016
analogous
#165466 #162C66 #281666
triadic
#162C66 #66162C #2C6616
tetradic
#162C66 #661654 #665016 #166628
square
#162C66 #661654 #665016 #166628
split-complementary
#162C66 #662816 #546616
monochromatic
#050B19 #0B1634 #162C66 #214298 #2C57CB

Accessibility & contrast

On white

13.24
#162C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C66
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C66#FFFFFF#000000##FFFFFF
##162C661.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162c66;
/* rgb */ color: rgb(22, 44, 102);
/* oklch */ color: oklch(31.3% 0.106 265.1);
Tailwind
colors: {
  custom: {
    50: '#606492',
    500: '#162c66',
    950: '#000000',
  },
}
SCSS
$custom: #162c66;
$custom-light: #606492;
$custom-dark: #000000;
JSON
{
  "hex": "#162c66",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 223.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31342,
    "c": 0.106,
    "h": 265.1
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#162C66
secondary
#9D823B
accent
#BA40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162C66

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

Preview Lab → · Contrast checker → · Palette generator →

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