#162E76#162E76

#162E76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.127 H 265.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#162E76
RGBrgb(22, 46, 118)
HSLhsl(225, 69%, 27%)
HSVhsv(225, 81%, 46%)
CMYKcmyk(81.4%, 61%, 0%, 53.7%)
CIE-LABlab(21.70, 19.42, -43.86)
CIE-LCHlch(21.70, 47.97, 293.88°)
OKLaboklab(33.22% -0.0096 -0.1267)
OKLCHoklch(33.22% 0.127 265.7)
XYZxyz(4.5767, 3.4320, 17.5573)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E76 #765E16
analogous
#165E76 #162E76 #2E1676
triadic
#162E76 #76162E #2E7616
tetradic
#162E76 #76165E #765E16 #16762E
square
#162E76 #76165E #765E16 #16762E
split-complementary
#162E76 #762E16 #5E7616
monochromatic
#050A1A #0C1A42 #162E76 #2042AA #2E59D8

Accessibility & contrast

On white

12.45
#162E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#162E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E76
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E76#FFFFFF#000000##FFFFFF
##162E761.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #162e76;
/* rgb */ color: rgb(22, 46, 118);
/* oklch */ color: oklch(33.2% 0.127 265.7);
Tailwind
colors: {
  custom: {
    50: '#64669e',
    500: '#162e76',
    950: '#000000',
  },
}
SCSS
$custom: #162e76;
$custom-light: #64669e;
$custom-dark: #000000;
JSON
{
  "hex": "#162e76",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 225,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.12707,
    "h": 265.7
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#162E76
secondary
#AC903C
accent
#C03CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E76

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

Preview Lab → · Contrast checker → · Palette generator →

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