#161E81#161E81

#161E81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.161 H 269.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#161E81
RGBrgb(22, 30, 129)
HSLhsl(236, 71%, 30%)
HSVhsv(236, 83%, 51%)
CMYKcmyk(82.9%, 76.7%, 0%, 49.4%)
CIE-LABlab(18.73, 34.56, -55.73)
CIE-LCHlch(18.73, 65.58, 301.80°)
OKLaboklab(31.38% -0.0016 -0.1615)
OKLCHoklch(31.38% 0.161 269.4)
XYZxyz(4.7562, 2.6835, 21.0319)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E81 #817916
analogous
#165481 #161E81 #441681
triadic
#161E81 #81161E #1E8116
tetradic
#161E81 #811654 #817916 #168144
square
#161E81 #811654 #817916 #168144
split-complementary
#161E81 #814416 #548116
monochromatic
#04061A #0D124D #161E81 #1F2AB5 #3541DD

Accessibility & contrast

On white

13.66
#161E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#161E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E81
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E81#FFFFFF#000000##FFFFFF
##161E811.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #161e81;
/* rgb */ color: rgb(22, 30, 129);
/* oklch */ color: oklch(31.4% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#695ba7',
    500: '#161e81',
    950: '#000000',
  },
}
SCSS
$custom: #161e81;
$custom-light: #695ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#161e81",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 235.514,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31384,
    "c": 0.16148,
    "h": 269.4
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#161E81
secondary
#B6AD3D
accent
#E03AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #161E81

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

Preview Lab → · Contrast checker → · Palette generator →

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