#161D58#161D58

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

Color values

HEX#161D58
RGBrgb(22, 29, 88)
HSLhsl(234, 60%, 22%)
HSVhsv(234, 75%, 35%)
CMYKcmyk(75%, 67%, 0%, 65.5%)
CIE-LABlab(14.14, 19.41, -36.54)
CIE-LCHlch(14.14, 41.38, 297.97°)
OKLaboklab(26.75% 0.0035 -0.1055)
OKLCHoklch(26.75% 0.106 271.9)
XYZxyz(2.5311, 1.7536, 9.4357)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D58 #585116
analogous
#163E58 #161D58 #301658
triadic
#161D58 #58161D #1D5816
tetradic
#161D58 #58163E #585116 #165830
square
#161D58 #58163E #585116 #165830
split-complementary
#161D58 #583016 #3E5816
monochromatic
#060818 #0A0D27 #161D58 #222D89 #2E3DBA

Accessibility & contrast

On white

15.55
#161D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D58
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D58#FFFFFF#000000##FFFFFF
##161D581.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161d58;
/* rgb */ color: rgb(22, 29, 88);
/* oklch */ color: oklch(26.8% 0.106 271.9);
Tailwind
colors: {
  custom: {
    50: '#5e5888',
    500: '#161d58',
    950: '#000000',
  },
}
SCSS
$custom: #161d58;
$custom-light: #5e5888;
$custom-dark: #000000;
JSON
{
  "hex": "#161d58",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 233.636,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26752,
    "c": 0.10552,
    "h": 271.9
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#161D58
secondary
#8F863B
accent
#D245E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161D58

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

Preview Lab → · Contrast checker → · Palette generator →

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