#161E54#161E54

#161E54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.098 H 271.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#161E54
RGBrgb(22, 30, 84)
HSLhsl(232, 58%, 21%)
HSVhsv(232, 74%, 33%)
CMYKcmyk(73.8%, 64.3%, 0%, 67.1%)
CIE-LABlab(14.05, 17.04, -33.98)
CIE-LCHlch(14.05, 38.01, 296.64°)
OKLaboklab(26.57% 0.0027 -0.0979)
OKLCHoklch(26.57% 0.098 271.6)
XYZxyz(2.3948, 1.7390, 8.5952)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E54 #544C16
analogous
#163D54 #161E54 #2D1654
triadic
#161E54 #54161E #1E5416
tetradic
#161E54 #54163D #544C16 #16542D
square
#161E54 #54163D #544C16 #16542D
split-complementary
#161E54 #542D16 #3D5416
monochromatic
#060918 #090D24 #161E54 #232F84 #2F41B5

Accessibility & contrast

On white

15.58
#161E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E54
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E54#FFFFFF#000000##FFFFFF
##161E541.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161e54;
/* rgb */ color: rgb(22, 30, 84);
/* oklch */ color: oklch(26.6% 0.098 271.6);
Tailwind
colors: {
  custom: {
    50: '#5d5985',
    500: '#161e54',
    950: '#000000',
  },
}
SCSS
$custom: #161e54;
$custom-light: #5d5985;
$custom-dark: #000000;
JSON
{
  "hex": "#161e54",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 232.258,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26574,
    "c": 0.09796,
    "h": 271.6
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#161E54
secondary
#8B813A
accent
#CE46E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161E54

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

Preview Lab → · Contrast checker → · Palette generator →

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