#161381#161381

#161381 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.172 H 270.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#161381
RGBrgb(22, 19, 129)
HSLhsl(242, 74%, 29%)
HSVhsv(242, 85%, 51%)
CMYKcmyk(82.9%, 85.3%, 0%, 49.4%)
CIE-LABlab(16.61, 40.67, -59.25)
CIE-LCHlch(16.61, 71.87, 304.47°)
OKLaboklab(29.89% 0.0015 -0.1715)
OKLCHoklch(29.89% 0.172 270.5)
XYZxyz(4.5249, 2.2208, 20.9548)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161381 #7E8113
analogous
#134781 #161381 #4D1381
triadic
#161381 #811613 #138116
tetradic
#161381 #811347 #7E8113 #13814D
square
#161381 #811347 #7E8113 #13814D
split-complementary
#161381 #814D13 #478113
monochromatic
#05041B #0D0B4C #161381 #1F1BB6 #332EE0

Accessibility & contrast

On white

14.54
#161381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161381
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161381#FFFFFF#000000##FFFFFF
##1613811.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161381;
/* rgb */ color: rgb(22, 19, 129);
/* oklch */ color: oklch(29.9% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#6a54a7',
    500: '#161381',
    950: '#000000',
  },
}
SCSS
$custom: #161381;
$custom-light: #6a54a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161381",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 241.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.29893,
    "c": 0.17151,
    "h": 270.5
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#161381
secondary
#B3B63A
accent
#F137EC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161381

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

Preview Lab → · Contrast checker → · Palette generator →

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