#161C71#161C71

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

Color values

HEX#161C71
RGBrgb(22, 28, 113)
HSLhsl(236, 67%, 26%)
HSVhsv(236, 81%, 44%)
CMYKcmyk(80.5%, 75.2%, 0%, 55.7%)
CIE-LABlab(16.47, 29.90, -49.22)
CIE-LCHlch(16.47, 57.59, 301.28°)
OKLaboklab(29.23% 0.0017 -0.1425)
OKLCHoklch(29.23% 0.143 270.7)
XYZxyz(3.7258, 2.1929, 15.8465)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C71 #716B16
analogous
#164A71 #161C71 #3E1671
triadic
#161C71 #71161C #1C7116
tetradic
#161C71 #71164A #716B16 #16713E
square
#161C71 #71164A #716B16 #16713E
split-complementary
#161C71 #713E16 #4A7116
monochromatic
#05061A #0C0F3E #161C71 #2029A4 #2C37D6

Accessibility & contrast

On white

14.60
#161C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C71
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C71#FFFFFF#000000##FFFFFF
##161C711.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161c71;
/* rgb */ color: rgb(22, 28, 113);
/* oklch */ color: oklch(29.2% 0.143 270.7);
Tailwind
colors: {
  custom: {
    50: '#65599b',
    500: '#161c71',
    950: '#000000',
  },
}
SCSS
$custom: #161c71;
$custom-light: #65599b;
$custom-dark: #000000;
JSON
{
  "hex": "#161c71",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 236.044,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29233,
    "c": 0.14253,
    "h": 270.7
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#161C71
secondary
#A7A03C
accent
#DF3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161C71

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

Preview Lab → · Contrast checker → · Palette generator →

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