#162880#162880

#162880 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.149 H 267.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#162880
RGBrgb(22, 40, 128)
HSLhsl(230, 71%, 29%)
HSVhsv(230, 83%, 50%)
CMYKcmyk(82.8%, 68.8%, 0%, 49.8%)
CIE-LABlab(21.00, 27.66, -51.35)
CIE-LCHlch(21.00, 58.33, 298.30°)
OKLaboklab(32.99% -0.006 -0.1487)
OKLCHoklch(32.99% 0.149 267.7)
XYZxyz(4.9846, 3.2461, 20.7817)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162880 #806E16
analogous
#165D80 #162880 #391680
triadic
#162880 #801628 #288016
tetradic
#162880 #80165D #806E16 #168039
square
#162880 #80165D #806E16 #168039
split-complementary
#162880 #803916 #5D8016
monochromatic
#04081A #0D184C #162880 #1F38B4 #3451DC

Accessibility & contrast

On white

12.73
#162880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162880
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162880#FFFFFF#000000##FFFFFF
##1628801.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162880;
/* rgb */ color: rgb(22, 40, 128);
/* oklch */ color: oklch(33.0% 0.149 267.7);
Tailwind
colors: {
  custom: {
    50: '#6862a6',
    500: '#162880',
    950: '#000000',
  },
}
SCSS
$custom: #162880;
$custom-light: #6862a6;
$custom-dark: #000000;
JSON
{
  "hex": "#162880",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 229.811,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32994,
    "c": 0.14883,
    "h": 267.7
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#162880
secondary
#B5A03D
accent
#CF3AED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162880

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

Preview Lab → · Contrast checker → · Palette generator →

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