#161B52#161B52

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

Color values

HEX#161B52
RGBrgb(22, 27, 82)
HSLhsl(235, 58%, 20%)
HSVhsv(235, 73%, 32%)
CMYKcmyk(73.2%, 67.1%, 0%, 67.8%)
CIE-LABlab(13.01, 18.44, -34.33)
CIE-LCHlch(13.01, 38.97, 298.25°)
OKLaboklab(25.74% 0.0056 -0.099)
OKLCHoklch(25.74% 0.099 273.2)
XYZxyz(2.2453, 1.5634, 8.1645)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B52 #524D16
analogous
#163952 #161B52 #2F1652
triadic
#161B52 #52161B #1B5216
tetradic
#161B52 #521639 #524D16 #16522F
square
#161B52 #521639 #524D16 #16522F
split-complementary
#161B52 #522F16 #395216
monochromatic
#060818 #090B22 #161B52 #232B82 #303BB3

Accessibility & contrast

On white

16.00
#161B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B52
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B52#FFFFFF#000000##FFFFFF
##161B521.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161b52;
/* rgb */ color: rgb(22, 27, 82);
/* oklch */ color: oklch(25.7% 0.099 273.2);
Tailwind
colors: {
  custom: {
    50: '#5c5783',
    500: '#161b52',
    950: '#000000',
  },
}
SCSS
$custom: #161b52;
$custom-light: #5c5783;
$custom-dark: #000000;
JSON
{
  "hex": "#161b52",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 235,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25742,
    "c": 0.09913,
    "h": 273.2
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#161B52
secondary
#89833A
accent
#D447E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #161B52

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

Preview Lab → · Contrast checker → · Palette generator →

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