#161581#161581

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

Color values

HEX#161581
RGBrgb(22, 21, 129)
HSLhsl(241, 72%, 29%)
HSVhsv(241, 84%, 51%)
CMYKcmyk(82.9%, 83.7%, 0%, 49.4%)
CIE-LABlab(16.95, 39.67, -58.69)
CIE-LCHlch(16.95, 70.83, 304.06°)
OKLaboklab(30.13% 0.0011 -0.1699)
OKLCHoklch(30.13% 0.17 270.4)
XYZxyz(4.5601, 2.2914, 20.9666)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161581 #808115
analogous
#154A81 #161581 #4C1581
triadic
#161581 #811615 #158116
tetradic
#161581 #81154A #808115 #15814C
square
#161581 #81154A #808115 #15814C
split-complementary
#161581 #814C15 #4A8115
monochromatic
#04041A #0D0C4C #161581 #1F1EB6 #3433DE

Accessibility & contrast

On white

14.40
#161581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161581
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161581#FFFFFF#000000##FFFFFF
##1615811.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161581;
/* rgb */ color: rgb(22, 21, 129);
/* oklch */ color: oklch(30.1% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a55a7',
    500: '#161581',
    950: '#000000',
  },
}
SCSS
$custom: #161581;
$custom-light: #6a55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161581",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 240.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.1699,
    "h": 270.4
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#161581
secondary
#B5B63C
accent
#EF39ED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161581

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

Preview Lab → · Contrast checker → · Palette generator →

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