#161D7F#161D7F

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

Color values

HEX#161D7F
RGBrgb(22, 29, 127)
HSLhsl(236, 70%, 29%)
HSVhsv(236, 83%, 50%)
CMYKcmyk(82.7%, 77.2%, 0%, 50.2%)
CIE-LABlab(18.28, 34.44, -55.21)
CIE-LCHlch(18.28, 65.07, 301.96°)
OKLaboklab(31% -0.001 -0.1599)
OKLCHoklch(31% 0.16 269.7)
XYZxyz(4.5997, 2.5811, 20.3303)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D7F #7F7816
analogous
#16527F #161D7F #44167F
triadic
#161D7F #7F161D #1D7F16
tetradic
#161D7F #7F1652 #7F7816 #167F44
square
#161D7F #7F1652 #7F7816 #167F44
split-complementary
#161D7F #7F4416 #527F16
monochromatic
#05061A #0D114B #161D7F #1F29B3 #343FDC

Accessibility & contrast

On white

13.85
#161D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D7F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D7F#FFFFFF#000000##FFFFFF
##161D7F1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161d7f;
/* rgb */ color: rgb(22, 29, 127);
/* oklch */ color: oklch(31.0% 0.160 269.7);
Tailwind
colors: {
  custom: {
    50: '#695aa5',
    500: '#161d7f',
    950: '#000000',
  },
}
SCSS
$custom: #161d7f;
$custom-light: #695aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#161d7f",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 236,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30997,
    "c": 0.15993,
    "h": 269.7
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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