#162DA1#162DA1

#162DA1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.186 H 266.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#162DA1
RGBrgb(22, 45, 161)
HSLhsl(230, 76%, 36%)
HSVhsv(230, 86%, 63%)
CMYKcmyk(86.3%, 72%, 0%, 36.9%)
CIE-LABlab(25.62, 36.94, -64.19)
CIE-LCHlch(25.62, 74.06, 299.92°)
OKLaboklab(37.37% -0.0107 -0.1861)
OKLCHoklch(37.37% 0.186 266.7)
XYZxyz(7.7000, 4.6196, 34.1971)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162DA1 #A18A16
analogous
#1672A1 #162DA1 #4416A1
triadic
#162DA1 #A1162D #2DA116
tetradic
#162DA1 #A11672 #A18A16 #16A144
square
#162DA1 #A11672 #A18A16 #16A144
split-complementary
#162DA1 #A14416 #72A116
monochromatic
#070F35 #0F1E6B #162DA1 #1D3CD7 #4B65E6

Accessibility & contrast

On white

10.91
#162DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#162DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162DA1
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162DA1#FFFFFF#000000##FFFFFF
##162DA11.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #162da1;
/* rgb */ color: rgb(22, 45, 161);
/* oklch */ color: oklch(37.4% 0.186 266.7);
Tailwind
colors: {
  custom: {
    50: '#7166be',
    500: '#162da1',
    950: '#000000',
  },
}
SCSS
$custom: #162da1;
$custom-light: #7166be;
$custom-dark: #000000;
JSON
{
  "hex": "#162da1",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 230.072,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37372,
    "c": 0.18641,
    "h": 266.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#162DA1
secondary
#C8B34B
accent
#D335F3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #162DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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