#161D80#161D80

#161D80 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.161 H 269.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#161D80
RGBrgb(22, 29, 128)
HSLhsl(236, 71%, 29%)
HSVhsv(236, 83%, 50%)
CMYKcmyk(82.8%, 77.3%, 0%, 49.8%)
CIE-LABlab(18.40, 34.81, -55.65)
CIE-LCHlch(18.40, 65.64, 302.02°)
OKLaboklab(31.11% -0.0011 -0.1612)
OKLCHoklch(31.11% 0.161 269.6)
XYZxyz(4.6652, 2.6073, 20.6753)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D80 #807916
analogous
#165280 #161D80 #441680
triadic
#161D80 #80161D #1D8016
tetradic
#161D80 #801652 #807916 #168044
square
#161D80 #801652 #807916 #168044
split-complementary
#161D80 #804416 #528016
monochromatic
#04061A #0D114C #161D80 #1F29B4 #343FDC

Accessibility & contrast

On white

13.80
#161D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#161D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D80
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D80#FFFFFF#000000##FFFFFF
##161D801.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161d80;
/* rgb */ color: rgb(22, 29, 128);
/* oklch */ color: oklch(31.1% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#695aa6',
    500: '#161d80',
    950: '#000000',
  },
}
SCSS
$custom: #161d80;
$custom-light: #695aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#161d80",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 236.038,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.16121,
    "h": 269.6
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#161D80
secondary
#B5AD3D
accent
#E23AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #161D80

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

Preview Lab → · Contrast checker → · Palette generator →

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