#162780#162780

#162780 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.150 H 267.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#162780
RGBrgb(22, 39, 128)
HSLhsl(230, 71%, 29%)
HSVhsv(230, 83%, 50%)
CMYKcmyk(82.8%, 69.5%, 0%, 49.8%)
CIE-LABlab(20.75, 28.34, -51.77)
CIE-LCHlch(20.75, 59.02, 298.69°)
OKLaboklab(32.81% -0.0055 -0.1499)
OKLCHoklch(32.81% 0.15 267.9)
XYZxyz(4.9513, 3.1795, 20.7706)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162780 #806F16
analogous
#165C80 #162780 #3A1680
triadic
#162780 #801627 #278016
tetradic
#162780 #80165C #806F16 #16803A
square
#162780 #80165C #806F16 #16803A
split-complementary
#162780 #803A16 #5C8016
monochromatic
#04081A #0D174C #162780 #1F37B4 #344FDC

Accessibility & contrast

On white

12.84
#162780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162780
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162780#FFFFFF#000000##FFFFFF
##1627801.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162780;
/* rgb */ color: rgb(22, 39, 128);
/* oklch */ color: oklch(32.8% 0.150 267.9);
Tailwind
colors: {
  custom: {
    50: '#6861a6',
    500: '#162780',
    950: '#000000',
  },
}
SCSS
$custom: #162780;
$custom-light: #6861a6;
$custom-dark: #000000;
JSON
{
  "hex": "#162780",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 230.377,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.15004,
    "h": 267.9
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#162780
secondary
#B5A23D
accent
#D13AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162780

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

Preview Lab → · Contrast checker → · Palette generator →

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