#161B76#161B76

#161B76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.150 H 270.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#161B76
RGBrgb(22, 27, 118)
HSLhsl(237, 69%, 27%)
HSVhsv(237, 81%, 46%)
CMYKcmyk(81.4%, 77.1%, 0%, 53.7%)
CIE-LABlab(16.81, 32.39, -51.89)
CIE-LCHlch(16.81, 61.17, 301.97°)
OKLaboklab(29.64% 0.0013 -0.1503)
OKLCHoklch(29.64% 0.15 270.5)
XYZxyz(3.9917, 2.2620, 17.3623)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B76 #767116
analogous
#164B76 #161B76 #411676
triadic
#161B76 #76161B #1B7616
tetradic
#161B76 #76164B #767116 #167641
square
#161B76 #76164B #767116 #167641
split-complementary
#161B76 #764116 #4B7616
monochromatic
#05061A #0C0F42 #161B76 #2027AA #2E37D8

Accessibility & contrast

On white

14.46
#161B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B76
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B76#FFFFFF#000000##FFFFFF
##161B761.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b76;
/* rgb */ color: rgb(22, 27, 118);
/* oklch */ color: oklch(29.6% 0.150 270.5);
Tailwind
colors: {
  custom: {
    50: '#66589f',
    500: '#161b76',
    950: '#000000',
  },
}
SCSS
$custom: #161b76;
$custom-light: #66589f;
$custom-dark: #000000;
JSON
{
  "hex": "#161b76",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 236.875,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29642,
    "c": 0.15029,
    "h": 270.5
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#161B76
secondary
#ACA63C
accent
#E23CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161B76

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

Preview Lab → · Contrast checker → · Palette generator →

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