#162FA1#162FA1

#162FA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.184 H 266.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#162FA1
RGBrgb(22, 47, 161)
HSLhsl(229, 76%, 36%)
HSVhsv(229, 86%, 63%)
CMYKcmyk(86.3%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.09, 35.67, -63.42)
CIE-LCHlch(26.09, 72.76, 299.36°)
OKLaboklab(37.71% -0.0114 -0.1839)
OKLCHoklch(37.71% 0.184 266.5)
XYZxyz(7.7782, 4.7758, 34.2232)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162FA1 #A18816
analogous
#1674A1 #162FA1 #4316A1
triadic
#162FA1 #A1162F #2FA116
tetradic
#162FA1 #A11674 #A18816 #16A143
square
#162FA1 #A11674 #A18816 #16A143
split-complementary
#162FA1 #A14316 #74A116
monochromatic
#071035 #0F1F6B #162FA1 #1D3FD7 #4B67E6

Accessibility & contrast

On white

10.74
#162FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#162FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162FA1
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162FA1#FFFFFF#000000##FFFFFF
##162FA11.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162fa1;
/* rgb */ color: rgb(22, 47, 161);
/* oklch */ color: oklch(37.7% 0.184 266.5);
Tailwind
colors: {
  custom: {
    50: '#7068be',
    500: '#162fa1',
    950: '#000000',
  },
}
SCSS
$custom: #162fa1;
$custom-light: #7068be;
$custom-dark: #000000;
JSON
{
  "hex": "#162fa1",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 229.209,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.18422,
    "h": 266.5
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#162FA1
secondary
#C8B14B
accent
#D035F3
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #162FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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