#162FA0#162FA0

#162FA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 266.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#162FA0
RGBrgb(22, 47, 160)
HSLhsl(229, 76%, 36%)
HSVhsv(229, 86%, 63%)
CMYKcmyk(86.3%, 70.6%, 0%, 37.3%)
CIE-LABlab(25.98, 35.30, -62.98)
CIE-LCHlch(25.98, 72.20, 299.27°)
OKLaboklab(37.6% -0.0113 -0.1826)
OKLCHoklch(37.6% 0.183 266.5)
XYZxyz(7.6903, 4.7407, 33.7606)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162FA0 #A08716
analogous
#1674A0 #162FA0 #4216A0
triadic
#162FA0 #A0162F #2FA016
tetradic
#162FA0 #A01674 #A08716 #16A042
square
#162FA0 #A01674 #A08716 #16A042
split-complementary
#162FA0 #A04216 #74A016
monochromatic
#070F34 #0F1F6A #162FA0 #1D3FD6 #4A66E6

Accessibility & contrast

On white

10.78
#162FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#162FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162FA0
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162FA0#FFFFFF#000000##FFFFFF
##162FA01.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #162fa0;
/* rgb */ color: rgb(22, 47, 160);
/* oklch */ color: oklch(37.6% 0.183 266.5);
Tailwind
colors: {
  custom: {
    50: '#7068bd',
    500: '#162fa0',
    950: '#000000',
  },
}
SCSS
$custom: #162fa0;
$custom-light: #7068bd;
$custom-dark: #000000;
JSON
{
  "hex": "#162fa0",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 229.13,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37601,
    "c": 0.18295,
    "h": 266.5
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#162FA0
secondary
#C8B14A
accent
#D035F2
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #162FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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