#161A81#161A81

#161A81 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.165 H 269.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#161A81
RGBrgb(22, 26, 129)
HSLhsl(238, 71%, 30%)
HSVhsv(238, 83%, 51%)
CMYKcmyk(82.9%, 79.8%, 0%, 49.4%)
CIE-LABlab(17.89, 36.94, -57.12)
CIE-LCHlch(17.89, 68.03, 302.89°)
OKLaboklab(30.79% -0.0003 -0.1655)
OKLCHoklch(30.79% 0.165 269.9)
XYZxyz(4.6614, 2.4938, 21.0003)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A81 #817D16
analogous
#165081 #161A81 #481681
triadic
#161A81 #81161A #1A8116
tetradic
#161A81 #811650 #817D16 #168148
square
#161A81 #811650 #817D16 #168148
split-complementary
#161A81 #814816 #508116
monochromatic
#04051A #0D0F4D #161A81 #1F25B5 #353BDD

Accessibility & contrast

On white

14.01
#161A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#161A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A81
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A81#FFFFFF#000000##FFFFFF
##161A811.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161a81;
/* rgb */ color: rgb(22, 26, 129);
/* oklch */ color: oklch(30.8% 0.165 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a58a7',
    500: '#161a81',
    950: '#000000',
  },
}
SCSS
$custom: #161a81;
$custom-light: #6a58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161a81",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 237.757,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3079,
    "c": 0.16545,
    "h": 269.9
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#161A81
secondary
#B6B13D
accent
#E73AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #161A81

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

Preview Lab → · Contrast checker → · Palette generator →

#161A81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva