#161A99#161A99

#161A99 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.195 H 268.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#161A99
RGBrgb(22, 26, 153)
HSLhsl(238, 75%, 34%)
HSVhsv(238, 86%, 60%)
CMYKcmyk(85.6%, 83%, 0%, 40%)
CIE-LABlab(20.86, 45.04, -67.18)
CIE-LCHlch(20.86, 80.88, 303.84°)
OKLaboklab(33.72% -0.0049 -0.1946)
OKLCHoklch(33.72% 0.195 268.6)
XYZxyz(6.4481, 3.2085, 30.4103)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A99 #999516
analogous
#165C99 #161A99 #541699
triadic
#161A99 #99161A #1A9916
tetradic
#161A99 #99165C #999516 #169954
square
#161A99 #99165C #999516 #169954
split-complementary
#161A99 #995416 #5C9916
monochromatic
#07082E #0E1163 #161A99 #1E23CF #454AE4

Accessibility & contrast

On white

12.79
#161A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#161A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A99
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A99#FFFFFF#000000##FFFFFF
##161A991.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002B97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #161a99;
/* rgb */ color: rgb(22, 26, 153);
/* oklch */ color: oklch(33.7% 0.195 268.6);
Tailwind
colors: {
  custom: {
    50: '#705ab8',
    500: '#161a99',
    950: '#000000',
  },
}
SCSS
$custom: #161a99;
$custom-light: #705ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#161a99",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 238.168,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33724,
    "c": 0.19463,
    "h": 268.6
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#161A99
secondary
#C5C146
accent
#EC36F1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #161A99

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

Preview Lab → · Contrast checker → · Palette generator →

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