#161C8E#161C8E

#161C8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.180 H 269.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#161C8E
RGBrgb(22, 28, 142)
HSLhsl(237, 73%, 32%)
HSVhsv(237, 85%, 56%)
CMYKcmyk(84.5%, 80.3%, 0%, 44.3%)
CIE-LABlab(19.86, 40.32, -62.03)
CIE-LCHlch(19.86, 73.99, 303.02°)
OKLaboklab(32.63% -0.0032 -0.1797)
OKLCHoklch(32.63% 0.18 269)
XYZxyz(5.6269, 2.9534, 25.8594)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C8E #8E8816
analogous
#16588E #161C8E #4C168E
triadic
#161C8E #8E161C #1C8E16
tetradic
#161C8E #8E1658 #8E8816 #168E4C
square
#161C8E #8E1658 #8E8816 #168E4C
split-complementary
#161C8E #8E4C16 #588E16
monochromatic
#060724 #0E1259 #161C8E #1E26C3 #3D46E1

Accessibility & contrast

On white

13.20
#161C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#161C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C8E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C8E#FFFFFF#000000##FFFFFF
##161C8E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #161c8e;
/* rgb */ color: rgb(22, 28, 142);
/* oklch */ color: oklch(32.6% 0.180 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d5ab0',
    500: '#161c8e',
    950: '#000000',
  },
}
SCSS
$custom: #161c8e;
$custom-light: #6d5ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#161c8e",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 237,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.17975,
    "h": 269
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#161C8E
secondary
#C1BA3F
accent
#E738F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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