#162480#162480

#162480 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.154 H 268.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#162480
RGBrgb(22, 36, 128)
HSLhsl(232, 71%, 29%)
HSVhsv(232, 83%, 50%)
CMYKcmyk(82.8%, 71.9%, 0%, 49.8%)
CIE-LABlab(20.00, 30.35, -53.00)
CIE-LCHlch(20.00, 61.07, 299.80°)
OKLaboklab(32.27% -0.004 -0.1535)
OKLCHoklch(32.27% 0.154 268.5)
XYZxyz(4.8567, 2.9903, 20.7391)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162480 #807216
analogous
#165980 #162480 #3D1680
triadic
#162480 #801624 #248016
tetradic
#162480 #801659 #807216 #16803D
square
#162480 #801659 #807216 #16803D
split-complementary
#162480 #803D16 #598016
monochromatic
#04071A #0D154C #162480 #1F33B4 #344ADC

Accessibility & contrast

On white

13.14
#162480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162480
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162480#FFFFFF#000000##FFFFFF
##1624801.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162480;
/* rgb */ color: rgb(22, 36, 128);
/* oklch */ color: oklch(32.3% 0.154 268.5);
Tailwind
colors: {
  custom: {
    50: '#685fa6',
    500: '#162480',
    950: '#000000',
  },
}
SCSS
$custom: #162480;
$custom-light: #685fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#162480",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 232.075,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32267,
    "c": 0.15357,
    "h": 268.5
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#162480
secondary
#B5A53D
accent
#D63AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162480

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

Preview Lab → · Contrast checker → · Palette generator →

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