#161E57#161E57

#161E57 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.103 H 271.5°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#161E57
RGBrgb(22, 30, 87)
HSLhsl(233, 60%, 21%)
HSVhsv(233, 75%, 34%)
CMYKcmyk(74.7%, 65.5%, 0%, 65.9%)
CIE-LABlab(14.33, 18.27, -35.56)
CIE-LCHlch(14.33, 39.98, 297.19°)
OKLaboklab(26.86% 0.0027 -0.1026)
OKLCHoklch(26.86% 0.103 271.5)
XYZxyz(2.5149, 1.7870, 9.2274)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E57 #574F16
analogous
#163F57 #161E57 #2F1657
triadic
#161E57 #57161E #1E5716
tetradic
#161E57 #57163F #574F16 #16572F
square
#161E57 #57163F #574F16 #16572F
split-complementary
#161E57 #572F16 #3F5716
monochromatic
#060818 #0A0D26 #161E57 #222F88 #2F40B9

Accessibility & contrast

On white

15.47
#161E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E57
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E57#FFFFFF#000000##FFFFFF
##161E571.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161e57;
/* rgb */ color: rgb(22, 30, 87);
/* oklch */ color: oklch(26.9% 0.103 271.5);
Tailwind
colors: {
  custom: {
    50: '#5d5987',
    500: '#161e57',
    950: '#000000',
  },
}
SCSS
$custom: #161e57;
$custom-light: #5d5987;
$custom-dark: #000000;
JSON
{
  "hex": "#161e57",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 232.615,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26863,
    "c": 0.1026,
    "h": 271.5
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#161E57
secondary
#8E843A
accent
#CF45E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161E57

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

Preview Lab → · Contrast checker → · Palette generator →

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