#161B58#161B58

#161B58 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.108 H 272.8°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#161B58
RGBrgb(22, 27, 88)
HSLhsl(235, 60%, 22%)
HSVhsv(235, 75%, 35%)
CMYKcmyk(75%, 69.3%, 0%, 65.5%)
CIE-LABlab(13.58, 20.86, -37.45)
CIE-LCHlch(13.58, 42.87, 299.12°)
OKLaboklab(26.35% 0.0052 -0.1081)
OKLCHoklch(26.35% 0.108 272.8)
XYZxyz(2.4837, 1.6588, 9.4199)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B58 #585316
analogous
#163C58 #161B58 #321658
triadic
#161B58 #58161B #1B5816
tetradic
#161B58 #58163C #585316 #165832
square
#161B58 #58163C #585316 #165832
split-complementary
#161B58 #583216 #3C5816
monochromatic
#060818 #0A0C27 #161B58 #222A89 #2E39BA

Accessibility & contrast

On white

15.77
#161B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B58
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B58#FFFFFF#000000##FFFFFF
##161B581.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161b58;
/* rgb */ color: rgb(22, 27, 88);
/* oklch */ color: oklch(26.3% 0.108 272.8);
Tailwind
colors: {
  custom: {
    50: '#5e5788',
    500: '#161b58',
    950: '#000000',
  },
}
SCSS
$custom: #161b58;
$custom-light: #5e5788;
$custom-dark: #000000;
JSON
{
  "hex": "#161b58",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 235.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26346,
    "c": 0.10826,
    "h": 272.8
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#161B58
secondary
#8F893B
accent
#D745E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161B58

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

Preview Lab → · Contrast checker → · Palette generator →

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