#161481#161481

#161481 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.171 H 270.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#161481
RGBrgb(22, 20, 129)
HSLhsl(241, 73%, 29%)
HSVhsv(241, 84%, 51%)
CMYKcmyk(82.9%, 84.5%, 0%, 49.4%)
CIE-LABlab(16.77, 40.18, -58.97)
CIE-LCHlch(16.77, 71.36, 304.27°)
OKLaboklab(30.01% 0.0013 -0.1707)
OKLCHoklch(30.01% 0.171 270.4)
XYZxyz(4.5421, 2.2553, 20.9606)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161481 #7F8114
analogous
#144981 #161481 #4D1481
triadic
#161481 #811614 #148116
tetradic
#161481 #811449 #7F8114 #14814D
square
#161481 #811449 #7F8114 #14814D
split-complementary
#161481 #814D14 #498114
monochromatic
#05041A #0D0C4C #161481 #1F1CB6 #3430DF

Accessibility & contrast

On white

14.47
#161481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161481
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161481#FFFFFF#000000##FFFFFF
##1614811.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161481;
/* rgb */ color: rgb(22, 20, 129);
/* oklch */ color: oklch(30.0% 0.171 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a55a7',
    500: '#161481',
    950: '#000000',
  },
}
SCSS
$custom: #161481;
$custom-light: #6a55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161481",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 241.101,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.17073,
    "h": 270.4
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#161481
secondary
#B4B63B
accent
#F038EC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161481

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

Preview Lab → · Contrast checker → · Palette generator →

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