#161A8B#161A8B

#161A8B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.178 H 269.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#161A8B
RGBrgb(22, 26, 139)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 84%, 55%)
CMYKcmyk(84.2%, 81.3%, 0%, 45.5%)
CIE-LABlab(19.11, 40.39, -61.40)
CIE-LCHlch(19.11, 73.49, 303.34°)
OKLaboklab(32% -0.0022 -0.1778)
OKLCHoklch(32% 0.178 269.3)
XYZxyz(5.3589, 2.7728, 24.6739)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A8B #8B8716
analogous
#16558B #161A8B #4D168B
triadic
#161A8B #8B161A #1A8B16
tetradic
#161A8B #8B1655 #8B8716 #168B4D
square
#161A8B #8B1655 #8B8716 #168B4D
split-complementary
#161A8B #8B4D16 #558B16
monochromatic
#050621 #0E1056 #161A8B #1E24C0 #3B41E0

Accessibility & contrast

On white

13.51
#161A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#161A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A8B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A8B#FFFFFF#000000##FFFFFF
##161A8B1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #161a8b;
/* rgb */ color: rgb(22, 26, 139);
/* oklch */ color: oklch(32.0% 0.178 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c59ae',
    500: '#161a8b',
    950: '#000000',
  },
}
SCSS
$custom: #161a8b;
$custom-light: #6c59ae;
$custom-dark: #000000;
JSON
{
  "hex": "#161a8b",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 237.949,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32,
    "c": 0.17785,
    "h": 269.3
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#161A8B
secondary
#BFBA3E
accent
#E938EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #161A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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