#161A57#161A57

#161A57 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.108 H 273.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#161A57
RGBrgb(22, 26, 87)
HSLhsl(236, 60%, 21%)
HSVhsv(236, 75%, 34%)
CMYKcmyk(74.7%, 70.1%, 0%, 65.9%)
CIE-LABlab(13.21, 21.17, -37.38)
CIE-LCHlch(13.21, 42.96, 299.53°)
OKLaboklab(26.04% 0.0061 -0.1079)
OKLCHoklch(26.04% 0.108 273.2)
XYZxyz(2.4200, 1.5973, 9.1957)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A57 #575316
analogous
#163B57 #161A57 #331657
triadic
#161A57 #57161A #1A5716
tetradic
#161A57 #57163B #575316 #165733
square
#161A57 #57163B #575316 #165733
split-complementary
#161A57 #573316 #3B5716
monochromatic
#060718 #0A0B26 #161A57 #222988 #2F37B9

Accessibility & contrast

On white

15.92
#161A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A57
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A57#FFFFFF#000000##FFFFFF
##161A571.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161a57;
/* rgb */ color: rgb(22, 26, 87);
/* oklch */ color: oklch(26.0% 0.108 273.2);
Tailwind
colors: {
  custom: {
    50: '#5e5687',
    500: '#161a57',
    950: '#000000',
  },
}
SCSS
$custom: #161a57;
$custom-light: #5e5687;
$custom-dark: #000000;
JSON
{
  "hex": "#161a57",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 236.308,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26044,
    "c": 0.10811,
    "h": 273.2
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#161A57
secondary
#8E893A
accent
#D945E3
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161A57

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

Preview Lab → · Contrast checker → · Palette generator →

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