#161E53#161E53

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

Color values

HEX#161E53
RGBrgb(22, 30, 83)
HSLhsl(232, 58%, 21%)
HSVhsv(232, 73%, 33%)
CMYKcmyk(73.5%, 63.9%, 0%, 67.5%)
CIE-LABlab(13.96, 16.63, -33.45)
CIE-LCHlch(13.96, 37.36, 296.44°)
OKLaboklab(26.48% 0.0027 -0.0963)
OKLCHoklch(26.48% 0.096 271.6)
XYZxyz(2.3560, 1.7234, 8.3904)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E53 #534B16
analogous
#163C53 #161E53 #2C1653
triadic
#161E53 #53161E #1E5316
tetradic
#161E53 #53163C #534B16 #16532C
square
#161E53 #53163C #534B16 #16532C
split-complementary
#161E53 #532C16 #3C5316
monochromatic
#060918 #090D23 #161E53 #232F83 #3041B4

Accessibility & contrast

On white

15.62
#161E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E53
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E53#FFFFFF#000000##FFFFFF
##161E531.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161e53;
/* rgb */ color: rgb(22, 30, 83);
/* oklch */ color: oklch(26.5% 0.096 271.6);
Tailwind
colors: {
  custom: {
    50: '#5c5984',
    500: '#161e53',
    950: '#000000',
  },
}
SCSS
$custom: #161e53;
$custom-light: #5c5984;
$custom-dark: #000000;
JSON
{
  "hex": "#161e53",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 232.131,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26479,
    "c": 0.09639,
    "h": 271.6
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#161E53
secondary
#8A803A
accent
#CD46E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #161E53

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

Preview Lab → · Contrast checker → · Palette generator →

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