#162C76#162C76

#162C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.130 H 266.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#162C76
RGBrgb(22, 44, 118)
HSLhsl(226, 69%, 27%)
HSVhsv(226, 81%, 46%)
CMYKcmyk(81.4%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.13, 20.84, -44.79)
CIE-LCHlch(21.13, 49.40, 294.96°)
OKLaboklab(32.8% -0.0082 -0.1295)
OKLCHoklch(32.8% 0.13 266.4)
XYZxyz(4.5004, 3.2794, 17.5318)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C76 #766016
analogous
#165C76 #162C76 #301676
triadic
#162C76 #76162C #2C7616
tetradic
#162C76 #76165C #766016 #167630
square
#162C76 #76165C #766016 #167630
split-complementary
#162C76 #763016 #5C7616
monochromatic
#050A1A #0C1942 #162C76 #203FAA #2E55D8

Accessibility & contrast

On white

12.68
#162C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#162C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C76
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C76#FFFFFF#000000##FFFFFF
##162C761.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162c76;
/* rgb */ color: rgb(22, 44, 118);
/* oklch */ color: oklch(32.8% 0.130 266.4);
Tailwind
colors: {
  custom: {
    50: '#65649e',
    500: '#162c76',
    950: '#000000',
  },
}
SCSS
$custom: #162c76;
$custom-light: #65649e;
$custom-dark: #000000;
JSON
{
  "hex": "#162c76",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 226.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32795,
    "c": 0.12972,
    "h": 266.4
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#162C76
secondary
#AC923C
accent
#C33CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162C76

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

Preview Lab → · Contrast checker → · Palette generator →

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