#161D52#161D52

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

Color values

HEX#161D52
RGBrgb(22, 29, 82)
HSLhsl(233, 58%, 20%)
HSVhsv(233, 73%, 32%)
CMYKcmyk(73.2%, 64.6%, 0%, 67.8%)
CIE-LABlab(13.58, 16.96, -33.39)
CIE-LCHlch(13.58, 37.45, 296.93°)
OKLaboklab(26.17% 0.0037 -0.0962)
OKLCHoklch(26.17% 0.096 272.2)
XYZxyz(2.2927, 1.6583, 8.1803)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D52 #524B16
analogous
#163B52 #161D52 #2D1652
triadic
#161D52 #52161D #1D5216
tetradic
#161D52 #52163B #524B16 #16522D
square
#161D52 #52163B #524B16 #16522D
split-complementary
#161D52 #522D16 #3B5216
monochromatic
#060918 #090C22 #161D52 #232E82 #303FB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##161D52#FFFFFF#000000##FFFFFF
##161D521.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)
#002654
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161d52;
/* rgb */ color: rgb(22, 29, 82);
/* oklch */ color: oklch(26.2% 0.096 272.2);
Tailwind
colors: {
  custom: {
    50: '#5c5883',
    500: '#161d52',
    950: '#000000',
  },
}
SCSS
$custom: #161d52;
$custom-light: #5c5883;
$custom-dark: #000000;
JSON
{
  "hex": "#161d52",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 233,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26167,
    "c": 0.09627,
    "h": 272.2
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#161D52
secondary
#89803A
accent
#CF47E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #161D52

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

Preview Lab → · Contrast checker → · Palette generator →

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