#161D7E#161D7E

#161D7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.159 H 269.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#161D7E
RGBrgb(22, 29, 126)
HSLhsl(236, 70%, 29%)
HSVhsv(236, 83%, 49%)
CMYKcmyk(82.5%, 77%, 0%, 50.6%)
CIE-LABlab(18.17, 34.08, -54.76)
CIE-LCHlch(18.17, 64.50, 301.90°)
OKLaboklab(30.88% -0.0008 -0.1586)
OKLCHoklch(30.88% 0.159 269.7)
XYZxyz(4.5348, 2.5551, 19.9888)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D7E #7E7716
analogous
#16517E #161D7E #43167E
triadic
#161D7E #7E161D #1D7E16
tetradic
#161D7E #7E1651 #7E7716 #167E43
square
#161D7E #7E1651 #7E7716 #167E43
split-complementary
#161D7E #7E4316 #517E16
monochromatic
#05061A #0D114A #161D7E #1F29B2 #333EDB

Accessibility & contrast

On white

13.90
#161D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D7E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D7E#FFFFFF#000000##FFFFFF
##161D7E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161d7e;
/* rgb */ color: rgb(22, 29, 126);
/* oklch */ color: oklch(30.9% 0.159 269.7);
Tailwind
colors: {
  custom: {
    50: '#685aa4',
    500: '#161d7e',
    950: '#000000',
  },
}
SCSS
$custom: #161d7e;
$custom-light: #685aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#161d7e",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 235.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30881,
    "c": 0.15863,
    "h": 269.7
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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