#161780#161780

#161780 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.167 H 270.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#161780
RGBrgb(22, 23, 128)
HSLhsl(239, 71%, 29%)
HSVhsv(239, 83%, 50%)
CMYKcmyk(82.8%, 82%, 0%, 49.8%)
CIE-LABlab(17.19, 38.27, -57.66)
CIE-LCHlch(17.19, 69.20, 303.58°)
OKLaboklab(30.26% 0.0008 -0.167)
OKLCHoklch(30.26% 0.167 270.3)
XYZxyz(4.5322, 2.3414, 20.6309)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161780 #807F16
analogous
#164C80 #161780 #4A1680
triadic
#161780 #801617 #178016
tetradic
#161780 #80164C #807F16 #16804A
square
#161780 #80164C #807F16 #16804A
split-complementary
#161780 #804A16 #4C8016
monochromatic
#04051A #0D0E4C #161780 #1F20B4 #3436DC

Accessibility & contrast

On white

14.30
#161780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161780
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161780#FFFFFF#000000##FFFFFF
##1617801.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161780;
/* rgb */ color: rgb(22, 23, 128);
/* oklch */ color: oklch(30.3% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a56a6',
    500: '#161780',
    950: '#000000',
  },
}
SCSS
$custom: #161780;
$custom-light: #6a56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161780",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 239.434,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3026,
    "c": 0.16696,
    "h": 270.3
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#161780
secondary
#B5B43D
accent
#EC3AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #161780

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

Preview Lab → · Contrast checker → · Palette generator →

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