#161B81#161B81

#161B81 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.164 H 269.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#161B81
RGBrgb(22, 27, 129)
HSLhsl(237, 71%, 30%)
HSVhsv(237, 83%, 51%)
CMYKcmyk(82.9%, 79.1%, 0%, 49.4%)
CIE-LABlab(18.09, 36.36, -56.79)
CIE-LCHlch(18.09, 67.43, 302.63°)
OKLaboklab(30.93% -0.0006 -0.1645)
OKLCHoklch(30.93% 0.164 269.8)
XYZxyz(4.6839, 2.5389, 21.0078)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B81 #817C16
analogous
#165181 #161B81 #461681
triadic
#161B81 #81161B #1B8116
tetradic
#161B81 #811651 #817C16 #168146
square
#161B81 #811651 #817C16 #168146
split-complementary
#161B81 #814616 #518116
monochromatic
#04051A #0D104D #161B81 #1F26B5 #353DDD

Accessibility & contrast

On white

13.93
#161B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B81
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B81#FFFFFF#000000##FFFFFF
##161B811.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b81;
/* rgb */ color: rgb(22, 27, 129);
/* oklch */ color: oklch(30.9% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#6959a7',
    500: '#161b81',
    950: '#000000',
  },
}
SCSS
$custom: #161b81;
$custom-light: #6959a7;
$custom-dark: #000000;
JSON
{
  "hex": "#161b81",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 237.196,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.16449,
    "h": 269.8
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#161B81
secondary
#B6B03D
accent
#E53AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #161B81

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

Preview Lab → · Contrast checker → · Palette generator →

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