#161B57#161B57

#161B57 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.107 H 272.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#161B57
RGBrgb(22, 27, 87)
HSLhsl(235, 60%, 21%)
HSVhsv(235, 75%, 34%)
CMYKcmyk(74.7%, 69%, 0%, 65.9%)
CIE-LABlab(13.49, 20.46, -36.94)
CIE-LCHlch(13.49, 42.22, 298.98°)
OKLaboklab(26.24% 0.0053 -0.1066)
OKLCHoklch(26.24% 0.107 272.8)
XYZxyz(2.4425, 1.6423, 9.2033)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B57 #575216
analogous
#163C57 #161B57 #321657
triadic
#161B57 #57161B #1B5716
tetradic
#161B57 #57163C #575216 #165732
square
#161B57 #57163C #575216 #165732
split-complementary
#161B57 #573216 #3C5716
monochromatic
#060818 #0A0C26 #161B57 #222A88 #2F39B9

Accessibility & contrast

On white

15.81
#161B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B57
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B57#FFFFFF#000000##FFFFFF
##161B571.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161b57;
/* rgb */ color: rgb(22, 27, 87);
/* oklch */ color: oklch(26.2% 0.107 272.8);
Tailwind
colors: {
  custom: {
    50: '#5e5787',
    500: '#161b57',
    950: '#000000',
  },
}
SCSS
$custom: #161b57;
$custom-light: #5e5787;
$custom-dark: #000000;
JSON
{
  "hex": "#161b57",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 235.385,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26243,
    "c": 0.10675,
    "h": 272.8
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#161B57
secondary
#8E883A
accent
#D745E3
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161B57

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

Preview Lab → · Contrast checker → · Palette generator →

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