#161D7A#161D7A

#161D7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.153 H 269.9°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#161D7A
RGBrgb(22, 29, 122)
HSLhsl(236, 69%, 28%)
HSVhsv(236, 82%, 48%)
CMYKcmyk(82%, 76.2%, 0%, 52.2%)
CIE-LABlab(17.71, 32.61, -52.97)
CIE-LCHlch(17.71, 62.20, 301.62°)
OKLaboklab(30.42% -0.0002 -0.1534)
OKLCHoklch(30.42% 0.153 269.9)
XYZxyz(4.2819, 2.4540, 18.6566)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D7A #7A7316
analogous
#164F7A #161D7A #41167A
triadic
#161D7A #7A161D #1D7A16
tetradic
#161D7A #7A164F #7A7316 #167A41
square
#161D7A #7A164F #7A7316 #167A41
split-complementary
#161D7A #7A4116 #4F7A16
monochromatic
#05061A #0D1146 #161D7A #1F29AE #313CDA

Accessibility & contrast

On white

14.09
#161D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#161D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D7A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D7A#FFFFFF#000000##FFFFFF
##161D7A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161d7a;
/* rgb */ color: rgb(22, 29, 122);
/* oklch */ color: oklch(30.4% 0.153 269.9);
Tailwind
colors: {
  custom: {
    50: '#675aa2',
    500: '#161d7a',
    950: '#000000',
  },
}
SCSS
$custom: #161d7a;
$custom-light: #675aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#161d7a",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 235.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30421,
    "c": 0.15342,
    "h": 269.9
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#161D7A
secondary
#AFA73D
accent
#E03CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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