#161E56#161E56

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

Color values

HEX#161E56
RGBrgb(22, 30, 86)
HSLhsl(233, 59%, 21%)
HSVhsv(233, 74%, 34%)
CMYKcmyk(74.4%, 65.1%, 0%, 66.3%)
CIE-LABlab(14.24, 17.86, -35.04)
CIE-LCHlch(14.24, 39.33, 297.01°)
OKLaboklab(26.77% 0.0027 -0.101)
OKLCHoklch(26.77% 0.101 271.5)
XYZxyz(2.4743, 1.7708, 9.0137)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E56 #564E16
analogous
#163E56 #161E56 #2E1656
triadic
#161E56 #56161E #1E5616
tetradic
#161E56 #56163E #564E16 #16562E
square
#161E56 #56163E #564E16 #16562E
split-complementary
#161E56 #562E16 #3E5616
monochromatic
#060918 #0A0D25 #161E56 #222F87 #2F40B7

Accessibility & contrast

On white

15.51
#161E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E56
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E56#FFFFFF#000000##FFFFFF
##161E561.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161e56;
/* rgb */ color: rgb(22, 30, 86);
/* oklch */ color: oklch(26.8% 0.101 271.5);
Tailwind
colors: {
  custom: {
    50: '#5d5986',
    500: '#161e56',
    950: '#000000',
  },
}
SCSS
$custom: #161e56;
$custom-light: #5d5986;
$custom-dark: #000000;
JSON
{
  "hex": "#161e56",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 232.5,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26766,
    "c": 0.10106,
    "h": 271.5
  },
  "luminance": 0.01771
}

Semantic roles & 50–950 ramp

primary
#161E56
secondary
#8D833A
accent
#CF45E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161E56

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

Preview Lab → · Contrast checker → · Palette generator →

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