#161C72#161C72

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

Color values

HEX#161C72
RGBrgb(22, 28, 114)
HSLhsl(236, 68%, 27%)
HSVhsv(236, 81%, 45%)
CMYKcmyk(80.7%, 75.4%, 0%, 55.3%)
CIE-LABlab(16.58, 30.27, -49.68)
CIE-LCHlch(16.58, 58.18, 301.35°)
OKLaboklab(29.35% 0.0015 -0.1439)
OKLCHoklch(29.35% 0.144 270.6)
XYZxyz(3.7824, 2.2156, 16.1446)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C72 #726C16
analogous
#164A72 #161C72 #3E1672
triadic
#161C72 #72161C #1C7216
tetradic
#161C72 #72164A #726C16 #16723E
square
#161C72 #72164A #726C16 #16723E
split-complementary
#161C72 #723E16 #4A7216
monochromatic
#05061A #0C0F3F #161C72 #2029A5 #2C37D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##161C72#FFFFFF#000000##FFFFFF
##161C721.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)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161c72;
/* rgb */ color: rgb(22, 28, 114);
/* oklch */ color: oklch(29.3% 0.144 270.6);
Tailwind
colors: {
  custom: {
    50: '#65599c',
    500: '#161c72',
    950: '#000000',
  },
}
SCSS
$custom: #161c72;
$custom-light: #65599c;
$custom-dark: #000000;
JSON
{
  "hex": "#161c72",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 236.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29346,
    "c": 0.14388,
    "h": 270.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#161C72
secondary
#A8A13C
accent
#DF3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161C72

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

Preview Lab → · Contrast checker → · Palette generator →

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