#162DB0#162DB0

#162DB0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.0% C 0.205 H 266.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#162DB0
RGBrgb(22, 45, 176)
HSLhsl(231, 78%, 39%)
HSVhsv(231, 88%, 69%)
CMYKcmyk(87.5%, 74.4%, 0%, 31%)
CIE-LABlab(27.24, 42.37, -70.55)
CIE-LCHlch(27.24, 82.29, 300.99°)
OKLaboklab(39.02% -0.0122 -0.2046)
OKLCHoklch(39.02% 0.205 266.6)
XYZxyz(9.1030, 5.1808, 41.5861)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162DB0 #B09916
analogous
#167AB0 #162DB0 #4C16B0
triadic
#162DB0 #B0162D #2DB016
tetradic
#162DB0 #B0167A #B09916 #16B04C
square
#162DB0 #B0167A #B09916 #16B04C
split-complementary
#162DB0 #B04C16 #7AB016
monochromatic
#081143 #0F1F7A #162DB0 #203DE3 #566CEA

Accessibility & contrast

On white

10.31
#162DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#162DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162DB0
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162DB0#FFFFFF#000000##FFFFFF
##162DB01.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #162db0;
/* rgb */ color: rgb(22, 45, 176);
/* oklch */ color: oklch(39.0% 0.205 266.6);
Tailwind
colors: {
  custom: {
    50: '#7567c9',
    500: '#162db0',
    950: '#000000',
  },
}
SCSS
$custom: #162db0;
$custom-light: #7567c9;
$custom-dark: #000000;
JSON
{
  "hex": "#162db0",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 231.039,
    "s": 77.778,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.20494,
    "h": 266.6
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#162DB0
secondary
#CDBB55
accent
#D734F4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #162DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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