#161B72#161B72

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

Color values

HEX#161B72
RGBrgb(22, 27, 114)
HSLhsl(237, 68%, 27%)
HSVhsv(237, 81%, 45%)
CMYKcmyk(80.7%, 76.3%, 0%, 55.3%)
CIE-LABlab(16.35, 30.91, -50.06)
CIE-LCHlch(16.35, 58.84, 301.69°)
OKLaboklab(29.18% 0.002 -0.145)
OKLCHoklch(29.18% 0.145 270.8)
XYZxyz(3.7590, 2.1689, 16.1369)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B72 #726D16
analogous
#164972 #161B72 #3F1672
triadic
#161B72 #72161B #1B7216
tetradic
#161B72 #721649 #726D16 #16723F
square
#161B72 #721649 #726D16 #16723F
split-complementary
#161B72 #723F16 #497216
monochromatic
#05061A #0C0F3F #161B72 #2027A5 #2C35D6

Accessibility & contrast

On white

14.65
#161B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B72
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B72#FFFFFF#000000##FFFFFF
##161B721.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161b72;
/* rgb */ color: rgb(22, 27, 114);
/* oklch */ color: oklch(29.2% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#65589c',
    500: '#161b72',
    950: '#000000',
  },
}
SCSS
$custom: #161b72;
$custom-light: #65589c;
$custom-dark: #000000;
JSON
{
  "hex": "#161b72",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 236.739,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29181,
    "c": 0.14498,
    "h": 270.8
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#161B72
secondary
#A8A23C
accent
#E13DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161B72

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

Preview Lab → · Contrast checker → · Palette generator →

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