#161C55#161C55

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

Color values

HEX#161C55
RGBrgb(22, 28, 85)
HSLhsl(234, 59%, 21%)
HSVhsv(234, 74%, 33%)
CMYKcmyk(74.1%, 67.1%, 0%, 66.7%)
CIE-LABlab(13.57, 18.92, -35.44)
CIE-LCHlch(13.57, 40.18, 298.10°)
OKLaboklab(26.25% 0.0045 -0.1022)
OKLCHoklch(26.25% 0.102 272.5)
XYZxyz(2.3853, 1.6567, 8.7866)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C55 #554F16
analogous
#163B55 #161C55 #2F1655
triadic
#161C55 #55161C #1C5516
tetradic
#161C55 #55163B #554F16 #16552F
square
#161C55 #55163B #554F16 #16552F
split-complementary
#161C55 #552F16 #3B5516
monochromatic
#060818 #090C24 #161C55 #232C86 #2F3CB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##161C55#FFFFFF#000000##FFFFFF
##161C551.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)
#002657
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161c55;
/* rgb */ color: rgb(22, 28, 85);
/* oklch */ color: oklch(26.2% 0.102 272.5);
Tailwind
colors: {
  custom: {
    50: '#5d5885',
    500: '#161c55',
    950: '#000000',
  },
}
SCSS
$custom: #161c55;
$custom-light: #5d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#161c55",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 234.286,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26247,
    "c": 0.10233,
    "h": 272.5
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#161C55
secondary
#8C853A
accent
#D346E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C55

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

Preview Lab → · Contrast checker → · Palette generator →

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