#161C81#161C81

#161C81 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.164 H 269.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#161C81
RGBrgb(22, 28, 129)
HSLhsl(237, 71%, 30%)
HSVhsv(237, 83%, 51%)
CMYKcmyk(82.9%, 78.3%, 0%, 49.4%)
CIE-LABlab(18.30, 35.77, -56.44)
CIE-LCHlch(18.30, 66.82, 302.36°)
OKLaboklab(31.08% -0.0009 -0.1635)
OKLCHoklch(31.08% 0.164 269.7)
XYZxyz(4.7072, 2.5855, 21.0156)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C81 #817B16
analogous
#165181 #161C81 #461681
triadic
#161C81 #81161C #1C8116
tetradic
#161C81 #811651 #817B16 #168146
square
#161C81 #811651 #817B16 #168146
split-complementary
#161C81 #814616 #518116
monochromatic
#04061A #0D114D #161C81 #1F27B5 #353EDD

Accessibility & contrast

On white

13.84
#161C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#161C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C81
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C81#FFFFFF#000000##FFFFFF
##161C811.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161c81;
/* rgb */ color: rgb(22, 28, 129);
/* oklch */ color: oklch(31.1% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#6959a7',
    500: '#161c81',
    950: '#000000',
  },
}
SCSS
$custom: #161c81;
$custom-light: #6959a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161c81",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 236.636,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3108,
    "c": 0.16351,
    "h": 269.7
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#161C81
secondary
#B6AF3D
accent
#E43AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #161C81

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

Preview Lab → · Contrast checker → · Palette generator →

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