#161C99#161C99

#161C99 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.193 H 268.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#161C99
RGBrgb(22, 28, 153)
HSLhsl(237, 75%, 34%)
HSVhsv(237, 86%, 60%)
CMYKcmyk(85.6%, 81.7%, 0%, 40%)
CIE-LABlab(21.21, 44.03, -66.60)
CIE-LCHlch(21.21, 79.84, 303.47°)
OKLaboklab(33.97% -0.0052 -0.1929)
OKLCHoklch(33.97% 0.193 268.4)
XYZxyz(6.4939, 3.3002, 30.4256)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C99 #999316
analogous
#165E99 #161C99 #521699
triadic
#161C99 #99161C #1C9916
tetradic
#161C99 #99165E #999316 #169952
square
#161C99 #99165E #999316 #169952
split-complementary
#161C99 #995216 #5E9916
monochromatic
#07082E #0E1263 #161C99 #1E26CF #454CE4

Accessibility & contrast

On white

12.65
#161C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#161C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C99
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C99#FFFFFF#000000##FFFFFF
##161C991.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002C97
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #161c99;
/* rgb */ color: rgb(22, 28, 153);
/* oklch */ color: oklch(34.0% 0.193 268.4);
Tailwind
colors: {
  custom: {
    50: '#705bb8',
    500: '#161c99',
    950: '#000000',
  },
}
SCSS
$custom: #161c99;
$custom-light: #705bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#161c99",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 237.252,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.193,
    "h": 268.4
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#161C99
secondary
#C5BF46
accent
#E936F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #161C99

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

Preview Lab → · Contrast checker → · Palette generator →

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