#161B8D#161B8D

#161B8D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.179 H 269.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#161B8D
RGBrgb(22, 27, 141)
HSLhsl(237, 73%, 32%)
HSVhsv(237, 84%, 55%)
CMYKcmyk(84.4%, 80.9%, 0%, 44.7%)
CIE-LABlab(19.54, 40.53, -61.93)
CIE-LCHlch(19.54, 74.01, 303.20°)
OKLaboklab(32.38% -0.0028 -0.1794)
OKLCHoklch(32.38% 0.179 269.1)
XYZxyz(5.5289, 2.8769, 25.4580)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B8D #8D8816
analogous
#16578D #161B8D #4D168D
triadic
#161B8D #8D161B #1B8D16
tetradic
#161B8D #8D1657 #8D8816 #168D4D
square
#161B8D #8D1657 #8D8816 #168D4D
split-complementary
#161B8D #8D4D16 #578D16
monochromatic
#050723 #0E1158 #161B8D #1E25C2 #3D44E1

Accessibility & contrast

On white

13.33
#161B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#161B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B8D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B8D#FFFFFF#000000##FFFFFF
##161B8D1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #161b8d;
/* rgb */ color: rgb(22, 27, 141);
/* oklch */ color: oklch(32.4% 0.179 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d5ab0',
    500: '#161b8d',
    950: '#000000',
  },
}
SCSS
$custom: #161b8d;
$custom-light: #6d5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#161b8d",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 237.479,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.17941,
    "h": 269.1
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#161B8D
secondary
#C1BB3E
accent
#E838F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #161B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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