#162BA0#162BA0

#162BA0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.187 H 267.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#162BA0
RGBrgb(22, 43, 160)
HSLhsl(231, 76%, 36%)
HSVhsv(231, 86%, 63%)
CMYKcmyk(86.3%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.06, 37.83, -64.50)
CIE-LCHlch(25.06, 74.78, 300.39°)
OKLaboklab(36.94% -0.0099 -0.187)
OKLCHoklch(36.94% 0.187 267)
XYZxyz(7.5377, 4.4355, 33.7097)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162BA0 #A08B16
analogous
#1670A0 #162BA0 #4616A0
triadic
#162BA0 #A0162B #2BA016
tetradic
#162BA0 #A01670 #A08B16 #16A046
square
#162BA0 #A01670 #A08B16 #16A046
split-complementary
#162BA0 #A04616 #70A016
monochromatic
#070E34 #0F1D6A #162BA0 #1D39D6 #4A62E6

Accessibility & contrast

On white

11.13
#162BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#162BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162BA0
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162BA0#FFFFFF#000000##FFFFFF
##162BA01.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #162ba0;
/* rgb */ color: rgb(22, 43, 160);
/* oklch */ color: oklch(36.9% 0.187 267.0);
Tailwind
colors: {
  custom: {
    50: '#7165bd',
    500: '#162ba0',
    950: '#000000',
  },
}
SCSS
$custom: #162ba0;
$custom-light: #7165bd;
$custom-dark: #000000;
JSON
{
  "hex": "#162ba0",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 230.87,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.18727,
    "h": 267
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#162BA0
secondary
#C8B54A
accent
#D635F2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #162BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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