#161A8D#161A8D

#161A8D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.180 H 269.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#161A8D
RGBrgb(22, 26, 141)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 84%, 55%)
CMYKcmyk(84.4%, 81.6%, 0%, 44.7%)
CIE-LABlab(19.36, 41.07, -62.24)
CIE-LCHlch(19.36, 74.57, 303.42°)
OKLaboklab(32.25% -0.0026 -0.1803)
OKLCHoklch(32.25% 0.18 269.2)
XYZxyz(5.5063, 2.8318, 25.4505)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A8D #8D8916
analogous
#16568D #161A8D #4E168D
triadic
#161A8D #8D161A #1A8D16
tetradic
#161A8D #8D1656 #8D8916 #168D4E
square
#161A8D #8D1656 #8D8916 #168D4E
split-complementary
#161A8D #8D4E16 #568D16
monochromatic
#050623 #0E1058 #161A8D #1E24C2 #3D42E1

Accessibility & contrast

On white

13.41
#161A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#161A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A8D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A8D#FFFFFF#000000##FFFFFF
##161A8D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.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: #161a8d;
/* rgb */ color: rgb(22, 26, 141);
/* oklch */ color: oklch(32.2% 0.180 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d59b0',
    500: '#161a8d',
    950: '#000000',
  },
}
SCSS
$custom: #161a8d;
$custom-light: #6d59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#161a8d",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 237.983,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32245,
    "c": 0.18029,
    "h": 269.2
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#161A8D
secondary
#C1BC3E
accent
#EA38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #161A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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