#162E85#162E85

#162E85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.148 H 266.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#162E85
RGBrgb(22, 46, 133)
HSLhsl(227, 72%, 30%)
HSVhsv(227, 83%, 52%)
CMYKcmyk(83.5%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.06, 25.51, -51.13)
CIE-LCHlch(23.06, 57.14, 296.51°)
OKLaboklab(34.65% -0.0095 -0.148)
OKLCHoklch(34.65% 0.148 266.3)
XYZxyz(5.5400, 3.8174, 22.6306)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E85 #856D16
analogous
#166585 #162E85 #351685
triadic
#162E85 #85162E #2E8516
tetradic
#162E85 #851665 #856D16 #168535
square
#162E85 #851665 #856D16 #168535
split-complementary
#162E85 #853516 #658516
monochromatic
#050A1C #0D1C50 #162E85 #1F40BA #375BDE

Accessibility & contrast

On white

11.91
#162E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#162E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E85
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E85#FFFFFF#000000##FFFFFF
##162E851.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #162e85;
/* rgb */ color: rgb(22, 46, 133);
/* oklch */ color: oklch(34.7% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#6966a9',
    500: '#162e85',
    950: '#000000',
  },
}
SCSS
$custom: #162e85;
$custom-light: #6966a9;
$custom-dark: #000000;
JSON
{
  "hex": "#162e85",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 227.027,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34652,
    "c": 0.14831,
    "h": 266.3
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#162E85
secondary
#B99F3E
accent
#C739EE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #162E85

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

Preview Lab → · Contrast checker → · Palette generator →

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