#162CA1#162CA1

#162CA1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.187 H 266.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#162CA1
RGBrgb(22, 44, 161)
HSLhsl(231, 76%, 36%)
HSVhsv(231, 86%, 63%)
CMYKcmyk(86.3%, 72.7%, 0%, 36.9%)
CIE-LABlab(25.39, 37.57, -64.56)
CIE-LCHlch(25.39, 74.70, 300.20°)
OKLaboklab(37.21% -0.0103 -0.1872)
OKLCHoklch(37.21% 0.187 266.8)
XYZxyz(7.6623, 4.5442, 34.1846)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162CA1 #A18B16
analogous
#1671A1 #162CA1 #4616A1
triadic
#162CA1 #A1162C #2CA116
tetradic
#162CA1 #A11671 #A18B16 #16A146
square
#162CA1 #A11671 #A18B16 #16A146
split-complementary
#162CA1 #A14616 #71A116
monochromatic
#070F35 #0F1D6B #162CA1 #1D3BD7 #4B64E6

Accessibility & contrast

On white

11.00
#162CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#162CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162CA1
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162CA1#FFFFFF#000000##FFFFFF
##162CA11.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #162ca1;
/* rgb */ color: rgb(22, 44, 161);
/* oklch */ color: oklch(37.2% 0.187 266.8);
Tailwind
colors: {
  custom: {
    50: '#7166be',
    500: '#162ca1',
    950: '#000000',
  },
}
SCSS
$custom: #162ca1;
$custom-light: #7166be;
$custom-dark: #000000;
JSON
{
  "hex": "#162ca1",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 230.504,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37208,
    "c": 0.18748,
    "h": 266.8
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#162CA1
secondary
#C8B44B
accent
#D535F3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #162CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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