#161980#161980

#161980 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.165 H 270.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#161980
RGBrgb(22, 25, 128)
HSLhsl(238, 71%, 29%)
HSVhsv(238, 83%, 50%)
CMYKcmyk(82.8%, 80.5%, 0%, 49.8%)
CIE-LABlab(17.57, 37.16, -57.02)
CIE-LCHlch(17.57, 68.06, 303.09°)
OKLaboklab(30.53% 0.0002 -0.1651)
OKLCHoklch(30.53% 0.165 270.1)
XYZxyz(4.5735, 2.4238, 20.6447)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161980 #807D16
analogous
#164E80 #161980 #481680
triadic
#161980 #801619 #198016
tetradic
#161980 #80164E #807D16 #168048
square
#161980 #80164E #807D16 #168048
split-complementary
#161980 #804816 #4E8016
monochromatic
#04051A #0D0F4C #161980 #1F23B4 #3439DC

Accessibility & contrast

On white

14.14
#161980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161980
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161980#FFFFFF#000000##FFFFFF
##1619801.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161980;
/* rgb */ color: rgb(22, 25, 128);
/* oklch */ color: oklch(30.5% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#6958a6',
    500: '#161980',
    950: '#000000',
  },
}
SCSS
$custom: #161980;
$custom-light: #6958a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161980",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 238.302,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3053,
    "c": 0.16514,
    "h": 270.1
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#161980
secondary
#B5B13D
accent
#E83AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #161980

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

Preview Lab → · Contrast checker → · Palette generator →

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