#161B77#161B77

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

Color values

HEX#161B77
RGBrgb(22, 27, 119)
HSLhsl(237, 69%, 28%)
HSVhsv(237, 82%, 47%)
CMYKcmyk(81.5%, 77.3%, 0%, 53.3%)
CIE-LABlab(16.92, 32.76, -52.34)
CIE-LCHlch(16.92, 61.75, 302.04°)
OKLaboklab(29.76% 0.0012 -0.1516)
OKLCHoklch(29.76% 0.152 270.4)
XYZxyz(4.0514, 2.2859, 17.6769)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B77 #777216
analogous
#164C77 #161B77 #411677
triadic
#161B77 #77161B #1B7716
tetradic
#161B77 #77164C #777216 #167741
square
#161B77 #77164C #777216 #167741
split-complementary
#161B77 #774116 #4C7716
monochromatic
#05061A #0C0F43 #161B77 #2027AB #2F38D9

Accessibility & contrast

On white

14.41
#161B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B77
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B77#FFFFFF#000000##FFFFFF
##161B771.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b77;
/* rgb */ color: rgb(22, 27, 119);
/* oklch */ color: oklch(29.8% 0.152 270.4);
Tailwind
colors: {
  custom: {
    50: '#67589f',
    500: '#161b77',
    950: '#000000',
  },
}
SCSS
$custom: #161b77;
$custom-light: #67589f;
$custom-dark: #000000;
JSON
{
  "hex": "#161b77",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 236.907,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29758,
    "c": 0.1516,
    "h": 270.4
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#161B77
secondary
#ACA73C
accent
#E33CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161B77

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

Preview Lab → · Contrast checker → · Palette generator →

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