#162E80#162E80

#162E80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.141 H 266.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#162E80
RGBrgb(22, 46, 128)
HSLhsl(226, 71%, 29%)
HSVhsv(226, 83%, 50%)
CMYKcmyk(82.8%, 64.1%, 0%, 49.8%)
CIE-LABlab(22.59, 23.50, -48.75)
CIE-LCHlch(22.59, 54.12, 295.74°)
OKLaboklab(34.16% -0.0094 -0.141)
OKLCHoklch(34.16% 0.141 266.2)
XYZxyz(5.2028, 3.6825, 20.8545)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E80 #806816
analogous
#166380 #162E80 #331680
triadic
#162E80 #80162E #2E8016
tetradic
#162E80 #801663 #806816 #168033
square
#162E80 #801663 #806816 #168033
split-complementary
#162E80 #803316 #638016
monochromatic
#04091A #0D1B4C #162E80 #1F41B4 #345ADC

Accessibility & contrast

On white

12.09
#162E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#162E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E80
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E80#FFFFFF#000000##FFFFFF
##162E801.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #162e80;
/* rgb */ color: rgb(22, 46, 128);
/* oklch */ color: oklch(34.2% 0.141 266.2);
Tailwind
colors: {
  custom: {
    50: '#6766a6',
    500: '#162e80',
    950: '#000000',
  },
}
SCSS
$custom: #162e80;
$custom-light: #6766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#162e80",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 226.415,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34164,
    "c": 0.14134,
    "h": 266.2
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#162E80
secondary
#B59A3D
accent
#C53AED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #162E80

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

Preview Lab → · Contrast checker → · Palette generator →

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