#161C58#161C58

#161C58 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.107 H 272.4°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#161C58
RGBrgb(22, 28, 88)
HSLhsl(235, 60%, 22%)
HSVhsv(235, 75%, 35%)
CMYKcmyk(75%, 68.2%, 0%, 65.5%)
CIE-LABlab(13.86, 20.14, -37.00)
CIE-LCHlch(13.86, 42.12, 298.56°)
OKLaboklab(26.55% 0.0044 -0.1068)
OKLCHoklch(26.55% 0.107 272.4)
XYZxyz(2.5070, 1.7054, 9.4277)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C58 #585216
analogous
#163D58 #161C58 #311658
triadic
#161C58 #58161C #1C5816
tetradic
#161C58 #58163D #585216 #165831
square
#161C58 #58163D #585216 #165831
split-complementary
#161C58 #583116 #3D5816
monochromatic
#060818 #0A0C27 #161C58 #222C89 #2E3BBA

Accessibility & contrast

On white

15.66
#161C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C58
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C58#FFFFFF#000000##FFFFFF
##161C581.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c58;
/* rgb */ color: rgb(22, 28, 88);
/* oklch */ color: oklch(26.5% 0.107 272.4);
Tailwind
colors: {
  custom: {
    50: '#5e5888',
    500: '#161c58',
    950: '#000000',
  },
}
SCSS
$custom: #161c58;
$custom-light: #5e5888;
$custom-dark: #000000;
JSON
{
  "hex": "#161c58",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 234.545,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26547,
    "c": 0.10689,
    "h": 272.4
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#161C58
secondary
#8F883B
accent
#D545E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C58

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

Preview Lab → · Contrast checker → · Palette generator →

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