#162180#162180

#162180 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.157 H 269.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#162180
RGBrgb(22, 33, 128)
HSLhsl(234, 71%, 29%)
HSVhsv(234, 83%, 50%)
CMYKcmyk(82.8%, 74.2%, 0%, 49.8%)
CIE-LABlab(19.29, 32.30, -54.17)
CIE-LCHlch(19.29, 63.07, 300.81°)
OKLaboklab(31.75% -0.0027 -0.1569)
OKLCHoklch(31.75% 0.157 269)
XYZxyz(4.7697, 2.8162, 20.7101)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162180 #807516
analogous
#165680 #162180 #401680
triadic
#162180 #801621 #218016
tetradic
#162180 #801656 #807516 #168040
square
#162180 #801656 #807516 #168040
split-complementary
#162180 #804016 #568016
monochromatic
#04071A #0D144C #162180 #1F2EB4 #3446DC

Accessibility & contrast

On white

13.43
#162180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162180
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162180#FFFFFF#000000##FFFFFF
##1621801.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162180;
/* rgb */ color: rgb(22, 33, 128);
/* oklch */ color: oklch(31.8% 0.157 269.0);
Tailwind
colors: {
  custom: {
    50: '#695da6',
    500: '#162180',
    950: '#000000',
  },
}
SCSS
$custom: #162180;
$custom-light: #695da6;
$custom-dark: #000000;
JSON
{
  "hex": "#162180",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 233.774,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31753,
    "c": 0.15696,
    "h": 269
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#162180
secondary
#B5A83D
accent
#DB3AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162180

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

Preview Lab → · Contrast checker → · Palette generator →

#162180 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva