#161D7D#161D7D

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

Color values

HEX#161D7D
RGBrgb(22, 29, 125)
HSLhsl(236, 70%, 29%)
HSVhsv(236, 82%, 49%)
CMYKcmyk(82.4%, 76.8%, 0%, 51%)
CIE-LABlab(18.05, 33.71, -54.31)
CIE-LCHlch(18.05, 63.93, 301.83°)
OKLaboklab(30.77% -0.0006 -0.1573)
OKLCHoklch(30.77% 0.157 269.8)
XYZxyz(4.4706, 2.5295, 19.6507)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D7D #7D7616
analogous
#16517D #161D7D #43167D
triadic
#161D7D #7D161D #1D7D16
tetradic
#161D7D #7D1651 #7D7616 #167D43
square
#161D7D #7D1651 #7D7616 #167D43
split-complementary
#161D7D #7D4316 #517D16
monochromatic
#05061A #0D1149 #161D7D #1F29B1 #323EDB

Accessibility & contrast

On white

13.94
#161D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D7D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D7D#FFFFFF#000000##FFFFFF
##161D7D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161d7d;
/* rgb */ color: rgb(22, 29, 125);
/* oklch */ color: oklch(30.8% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#685aa4',
    500: '#161d7d',
    950: '#000000',
  },
}
SCSS
$custom: #161d7d;
$custom-light: #685aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#161d7d",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 235.922,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30766,
    "c": 0.15734,
    "h": 269.8
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#161D7D
secondary
#B2AA3D
accent
#E13BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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