#161881#161881

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

Color values

HEX#161881
RGBrgb(22, 24, 129)
HSLhsl(239, 71%, 30%)
HSVhsv(239, 83%, 51%)
CMYKcmyk(82.9%, 81.4%, 0%, 49.4%)
CIE-LABlab(17.50, 38.07, -57.77)
CIE-LCHlch(17.50, 69.18, 303.38°)
OKLaboklab(30.51% 0.0003 -0.1673)
OKLCHoklch(30.51% 0.167 270.1)
XYZxyz(4.6186, 2.4083, 20.9860)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161881 #817F16
analogous
#164D81 #161881 #4A1681
triadic
#161881 #811618 #188116
tetradic
#161881 #81164D #817F16 #16814A
square
#161881 #81164D #817F16 #16814A
split-complementary
#161881 #814A16 #4D8116
monochromatic
#04051A #0D0E4D #161881 #1F22B5 #3538DD

Accessibility & contrast

On white

14.17
#161881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161881
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161881#FFFFFF#000000##FFFFFF
##1618811.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161881;
/* rgb */ color: rgb(22, 24, 129);
/* oklch */ color: oklch(30.5% 0.167 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a57a7',
    500: '#161881',
    950: '#000000',
  },
}
SCSS
$custom: #161881;
$custom-light: #6a57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161881",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 238.879,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.16731,
    "h": 270.1
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#161881
secondary
#B6B33D
accent
#EA3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #161881

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

Preview Lab → · Contrast checker → · Palette generator →

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