#161C76#161C76

#161C76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.149 H 270.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#161C76
RGBrgb(22, 28, 118)
HSLhsl(236, 69%, 27%)
HSVhsv(236, 81%, 46%)
CMYKcmyk(81.4%, 76.3%, 0%, 53.7%)
CIE-LABlab(17.03, 31.76, -51.52)
CIE-LCHlch(17.03, 60.53, 301.65°)
OKLaboklab(29.8% 0.0009 -0.1492)
OKLCHoklch(29.8% 0.149 270.3)
XYZxyz(4.0150, 2.3086, 17.3700)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C76 #767016
analogous
#164C76 #161C76 #401676
triadic
#161C76 #76161C #1C7616
tetradic
#161C76 #76164C #767016 #167640
square
#161C76 #76164C #767016 #167640
split-complementary
#161C76 #764016 #4C7616
monochromatic
#05061A #0C1042 #161C76 #2028AA #2E39D8

Accessibility & contrast

On white

14.37
#161C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C76
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C76#FFFFFF#000000##FFFFFF
##161C761.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c76;
/* rgb */ color: rgb(22, 28, 118);
/* oklch */ color: oklch(29.8% 0.149 270.3);
Tailwind
colors: {
  custom: {
    50: '#66599f',
    500: '#161c76',
    950: '#000000',
  },
}
SCSS
$custom: #161c76;
$custom-light: #66599f;
$custom-dark: #000000;
JSON
{
  "hex": "#161c76",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 236.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29801,
    "c": 0.14921,
    "h": 270.3
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#161C76
secondary
#ACA53C
accent
#E03CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161C76

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

Preview Lab → · Contrast checker → · Palette generator →

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