#161880#161880

#161880 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.166 H 270.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#161880
RGBrgb(22, 24, 128)
HSLhsl(239, 71%, 29%)
HSVhsv(239, 83%, 50%)
CMYKcmyk(82.8%, 81.3%, 0%, 49.8%)
CIE-LABlab(17.38, 37.72, -57.34)
CIE-LCHlch(17.38, 68.64, 303.34°)
OKLaboklab(30.39% 0.0005 -0.1661)
OKLCHoklch(30.39% 0.166 270.2)
XYZxyz(4.5525, 2.3818, 20.6377)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161880 #807E16
analogous
#164D80 #161880 #491680
triadic
#161880 #801618 #188016
tetradic
#161880 #80164D #807E16 #168049
square
#161880 #80164D #807E16 #168049
split-complementary
#161880 #804916 #4D8016
monochromatic
#04051A #0D0E4C #161880 #1F22B4 #3437DC

Accessibility & contrast

On white

14.22
#161880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#161880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161880
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161880#FFFFFF#000000##FFFFFF
##1618801.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161880;
/* rgb */ color: rgb(22, 24, 128);
/* oklch */ color: oklch(30.4% 0.166 270.2);
Tailwind
colors: {
  custom: {
    50: '#6957a6',
    500: '#161880',
    950: '#000000',
  },
}
SCSS
$custom: #161880;
$custom-light: #6957a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161880",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 238.868,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30393,
    "c": 0.16606,
    "h": 270.2
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#161880
secondary
#B5B23D
accent
#EA3AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #161880

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

Preview Lab → · Contrast checker → · Palette generator →

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