#161A76#161A76

#161A76 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.151 H 270.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#161A76
RGBrgb(22, 26, 118)
HSLhsl(238, 69%, 27%)
HSVhsv(238, 81%, 46%)
CMYKcmyk(81.4%, 78%, 0%, 53.7%)
CIE-LABlab(16.59, 33.01, -52.25)
CIE-LCHlch(16.59, 61.81, 302.28°)
OKLaboklab(29.49% 0.0017 -0.1513)
OKLCHoklch(29.49% 0.151 270.7)
XYZxyz(3.9692, 2.2169, 17.3547)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A76 #767216
analogous
#164A76 #161A76 #421676
triadic
#161A76 #76161A #1A7616
tetradic
#161A76 #76164A #767216 #167642
square
#161A76 #76164A #767216 #167642
split-complementary
#161A76 #764216 #4A7616
monochromatic
#05061A #0C0F42 #161A76 #2025AA #2E35D8

Accessibility & contrast

On white

14.55
#161A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A76
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A76#FFFFFF#000000##FFFFFF
##161A761.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161a76;
/* rgb */ color: rgb(22, 26, 118);
/* oklch */ color: oklch(29.5% 0.151 270.7);
Tailwind
colors: {
  custom: {
    50: '#66589f',
    500: '#161a76',
    950: '#000000',
  },
}
SCSS
$custom: #161a76;
$custom-light: #66589f;
$custom-dark: #000000;
JSON
{
  "hex": "#161a76",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 237.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29486,
    "c": 0.15134,
    "h": 270.7
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#161A76
secondary
#ACA73C
accent
#E43CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161A76

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

Preview Lab → · Contrast checker → · Palette generator →

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