#161A58#161A58

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

Color values

HEX#161A58
RGBrgb(22, 26, 88)
HSLhsl(236, 60%, 22%)
HSVhsv(236, 75%, 35%)
CMYKcmyk(75%, 70.5%, 0%, 65.5%)
CIE-LABlab(13.31, 21.57, -37.89)
CIE-LCHlch(13.31, 43.60, 299.65°)
OKLaboklab(26.15% 0.006 -0.1094)
OKLCHoklch(26.15% 0.11 273.2)
XYZxyz(2.4611, 1.6137, 9.4124)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A58 #585416
analogous
#163B58 #161A58 #331658
triadic
#161A58 #58161A #1A5816
tetradic
#161A58 #58163B #585416 #165833
square
#161A58 #58163B #585416 #165833
split-complementary
#161A58 #583316 #3B5816
monochromatic
#060718 #0A0C27 #161A58 #222889 #2E37BA

Accessibility & contrast

On white

15.88
#161A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A58
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A58#FFFFFF#000000##FFFFFF
##161A581.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161a58;
/* rgb */ color: rgb(22, 26, 88);
/* oklch */ color: oklch(26.1% 0.110 273.2);
Tailwind
colors: {
  custom: {
    50: '#5e5688',
    500: '#161a58',
    950: '#000000',
  },
}
SCSS
$custom: #161a58;
$custom-light: #5e5688;
$custom-dark: #000000;
JSON
{
  "hex": "#161a58",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 236.364,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.1096,
    "h": 273.2
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#161A58
secondary
#8F8A3B
accent
#DA45E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161A58

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

Preview Lab → · Contrast checker → · Palette generator →

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