#161E51#161E51

#161E51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.093 H 271.7°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#161E51
RGBrgb(22, 30, 81)
HSLhsl(232, 57%, 20%)
HSVhsv(232, 73%, 32%)
CMYKcmyk(72.8%, 63%, 0%, 68.2%)
CIE-LABlab(13.79, 15.81, -32.38)
CIE-LCHlch(13.79, 36.03, 296.03°)
OKLaboklab(26.29% 0.0027 -0.0932)
OKLCHoklch(26.29% 0.093 271.7)
XYZxyz(2.2799, 1.6930, 7.9896)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E51 #514916
analogous
#163C51 #161E51 #2B1651
triadic
#161E51 #51161E #1E5116
tetradic
#161E51 #51163C #514916 #16512B
square
#161E51 #51163C #514916 #16512B
split-complementary
#161E51 #512B16 #3C5116
monochromatic
#070918 #090C21 #161E51 #233081 #3042B1

Accessibility & contrast

On white

15.69
#161E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E51
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E51#FFFFFF#000000##FFFFFF
##161E511.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002150
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161e51;
/* rgb */ color: rgb(22, 30, 81);
/* oklch */ color: oklch(26.3% 0.093 271.7);
Tailwind
colors: {
  custom: {
    50: '#5c5982',
    500: '#161e51',
    950: '#000000',
  },
}
SCSS
$custom: #161e51;
$custom-light: #5c5982;
$custom-dark: #000000;
JSON
{
  "hex": "#161e51",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 231.864,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26292,
    "c": 0.09324,
    "h": 271.7
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#161E51
secondary
#887E3A
accent
#CC47E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161E51

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

Preview Lab → · Contrast checker → · Palette generator →

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