#161B79#161B79

#161B79 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.154 H 270.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#161B79
RGBrgb(22, 27, 121)
HSLhsl(237, 69%, 28%)
HSVhsv(237, 82%, 47%)
CMYKcmyk(81.8%, 77.7%, 0%, 52.5%)
CIE-LABlab(17.15, 33.49, -53.25)
CIE-LCHlch(17.15, 62.90, 302.17°)
OKLaboklab(29.99% 0.0008 -0.1542)
OKLCHoklch(29.99% 0.154 270.3)
XYZxyz(4.1728, 2.3344, 18.3161)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B79 #797416
analogous
#164C79 #161B79 #421679
triadic
#161B79 #79161B #1B7916
tetradic
#161B79 #79164C #797416 #167942
square
#161B79 #79164C #797416 #167942
split-complementary
#161B79 #794216 #4C7916
monochromatic
#05061A #0D0F45 #161B79 #1F27AD #3039D9

Accessibility & contrast

On white

14.31
#161B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B79
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B79#FFFFFF#000000##FFFFFF
##161B791.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161b79;
/* rgb */ color: rgb(22, 27, 121);
/* oklch */ color: oklch(30.0% 0.154 270.3);
Tailwind
colors: {
  custom: {
    50: '#6758a1',
    500: '#161b79',
    950: '#000000',
  },
}
SCSS
$custom: #161b79;
$custom-light: #6758a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161b79",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 236.97,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.15421,
    "h": 270.3
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#161B79
secondary
#AEA93D
accent
#E33CEC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161B79

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

Preview Lab → · Contrast checker → · Palette generator →

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