#161E49#161E49

#161E49 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.080 H 271.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#161E49
RGBrgb(22, 30, 73)
HSLhsl(231, 54%, 19%)
HSVhsv(231, 70%, 29%)
CMYKcmyk(69.9%, 58.9%, 0%, 71.4%)
CIE-LABlab(13.11, 12.51, -27.99)
CIE-LCHlch(13.11, 30.66, 294.09°)
OKLaboklab(25.57% 0.0023 -0.0803)
OKLCHoklch(25.57% 0.08 271.6)
XYZxyz(1.9973, 1.5800, 6.5017)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E49 #494116
analogous
#163749 #161E49 #271649
triadic
#161E49 #49161E #1E4916
tetradic
#161E49 #491637 #494116 #164927
square
#161E49 #491637 #494116 #164927
split-complementary
#161E49 #492716 #374916
monochromatic
#070A18 #080B1A #161E49 #243178 #3245A7

Accessibility & contrast

On white

15.96
#161E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E49
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E49#FFFFFF#000000##FFFFFF
##161E491.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161e49;
/* rgb */ color: rgb(22, 30, 73);
/* oklch */ color: oklch(25.6% 0.080 271.6);
Tailwind
colors: {
  custom: {
    50: '#5a597c',
    500: '#161e49',
    950: '#000000',
  },
}
SCSS
$custom: #161e49;
$custom-light: #5a597c;
$custom-dark: #000000;
JSON
{
  "hex": "#161e49",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 230.588,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25569,
    "c": 0.08032,
    "h": 271.6
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#161E49
secondary
#80753A
accent
#C64BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161E49

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

Preview Lab → · Contrast checker → · Palette generator →

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