#161C53#161C53

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

Color values

HEX#161C53
RGBrgb(22, 28, 83)
HSLhsl(234, 58%, 21%)
HSVhsv(234, 73%, 33%)
CMYKcmyk(73.5%, 66.3%, 0%, 67.5%)
CIE-LABlab(13.38, 18.11, -34.39)
CIE-LCHlch(13.38, 38.87, 297.77°)
OKLaboklab(26.05% 0.0046 -0.0991)
OKLCHoklch(26.05% 0.099 272.7)
XYZxyz(2.3069, 1.6254, 8.3741)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C53 #534D16
analogous
#163A53 #161C53 #2E1653
triadic
#161C53 #53161C #1C5316
tetradic
#161C53 #53163A #534D16 #16532E
square
#161C53 #53163A #534D16 #16532E
split-complementary
#161C53 #532E16 #3A5316
monochromatic
#060818 #090C23 #161C53 #232C83 #303DB4

Accessibility & contrast

On white

15.85
#161C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C53
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C53#FFFFFF#000000##FFFFFF
##161C531.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161c53;
/* rgb */ color: rgb(22, 28, 83);
/* oklch */ color: oklch(26.1% 0.099 272.7);
Tailwind
colors: {
  custom: {
    50: '#5c5884',
    500: '#161c53',
    950: '#000000',
  },
}
SCSS
$custom: #161c53;
$custom-light: #5c5884;
$custom-dark: #000000;
JSON
{
  "hex": "#161c53",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 234.098,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2605,
    "c": 0.09926,
    "h": 272.7
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#161C53
secondary
#8A833A
accent
#D246E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C53

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

Preview Lab → · Contrast checker → · Palette generator →

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