#161D76#161D76

#161D76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.148 H 270.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#161D76
RGBrgb(22, 29, 118)
HSLhsl(236, 69%, 27%)
HSVhsv(236, 81%, 46%)
CMYKcmyk(81.4%, 75.4%, 0%, 53.7%)
CIE-LABlab(17.26, 31.13, -51.14)
CIE-LCHlch(17.26, 59.87, 301.32°)
OKLaboklab(29.97% 0.0004 -0.1481)
OKLCHoklch(29.97% 0.148 270.2)
XYZxyz(4.0391, 2.3569, 17.3781)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D76 #766F16
analogous
#164D76 #161D76 #3F1676
triadic
#161D76 #76161D #1D7616
tetradic
#161D76 #76164D #766F16 #16763F
square
#161D76 #76164D #766F16 #16763F
split-complementary
#161D76 #763F16 #4D7616
monochromatic
#05061A #0C1042 #161D76 #202AAA #2E3BD8

Accessibility & contrast

On white

14.27
#161D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D76
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D76#FFFFFF#000000##FFFFFF
##161D761.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161d76;
/* rgb */ color: rgb(22, 29, 118);
/* oklch */ color: oklch(30.0% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#665a9f',
    500: '#161d76',
    950: '#000000',
  },
}
SCSS
$custom: #161d76;
$custom-light: #665a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#161d76",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 235.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29965,
    "c": 0.14812,
    "h": 270.2
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#161D76
secondary
#ACA33C
accent
#DF3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161D76

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

Preview Lab → · Contrast checker → · Palette generator →

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