#162C77#162C77

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

Color values

HEX#162C77
RGBrgb(22, 44, 119)
HSLhsl(226, 69%, 28%)
HSVhsv(226, 82%, 47%)
CMYKcmyk(81.5%, 63%, 0%, 53.3%)
CIE-LABlab(21.22, 21.25, -45.28)
CIE-LCHlch(21.22, 50.02, 295.15°)
OKLaboklab(32.89% -0.0082 -0.1309)
OKLCHoklch(32.89% 0.131 266.4)
XYZxyz(4.5602, 3.3033, 17.8465)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C77 #776116
analogous
#165C77 #162C77 #311677
triadic
#162C77 #77162C #2C7716
tetradic
#162C77 #77165C #776116 #167731
square
#162C77 #77165C #776116 #167731
split-complementary
#162C77 #773116 #5C7716
monochromatic
#050A1A #0C1943 #162C77 #203FAB #2F55D9

Accessibility & contrast

On white

12.64
#162C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C77
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C77#FFFFFF#000000##FFFFFF
##162C771.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162c77;
/* rgb */ color: rgb(22, 44, 119);
/* oklch */ color: oklch(32.9% 0.131 266.4);
Tailwind
colors: {
  custom: {
    50: '#65649f',
    500: '#162c77',
    950: '#000000',
  },
}
SCSS
$custom: #162c77;
$custom-light: #65649f;
$custom-dark: #000000;
JSON
{
  "hex": "#162c77",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 226.392,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.13116,
    "h": 266.4
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#162C77
secondary
#AC933C
accent
#C43CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162C77

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

Preview Lab → · Contrast checker → · Palette generator →

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