#161E99#161E99

#161E99 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.191 H 268.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#161E99
RGBrgb(22, 30, 153)
HSLhsl(236, 75%, 34%)
HSVhsv(236, 86%, 60%)
CMYKcmyk(85.6%, 80.4%, 0%, 40%)
CIE-LABlab(21.57, 42.97, -66.00)
CIE-LCHlch(21.57, 78.75, 303.07°)
OKLaboklab(34.22% -0.0056 -0.1912)
OKLCHoklch(34.22% 0.191 268.3)
XYZxyz(6.5429, 3.3982, 30.4419)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E99 #999116
analogous
#166099 #161E99 #501699
triadic
#161E99 #99161E #1E9916
tetradic
#161E99 #991660 #999116 #169950
square
#161E99 #991660 #999116 #169950
split-complementary
#161E99 #995016 #609916
monochromatic
#07092E #0E1463 #161E99 #1E28CF #454FE4

Accessibility & contrast

On white

12.50
#161E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#161E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E99
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E99#FFFFFF#000000##FFFFFF
##161E991.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #161e99;
/* rgb */ color: rgb(22, 30, 153);
/* oklch */ color: oklch(34.2% 0.191 268.3);
Tailwind
colors: {
  custom: {
    50: '#705cb8',
    500: '#161e99',
    950: '#000000',
  },
}
SCSS
$custom: #161e99;
$custom-light: #705cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#161e99",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 236.336,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34222,
    "c": 0.1913,
    "h": 268.3
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#161E99
secondary
#C5BD46
accent
#E636F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #161E99

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

Preview Lab → · Contrast checker → · Palette generator →

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