#161B53#161B53

#161B53 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.101 H 273.1°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#161B53
RGBrgb(22, 27, 83)
HSLhsl(235, 58%, 21%)
HSVhsv(235, 73%, 33%)
CMYKcmyk(73.5%, 67.5%, 0%, 67.5%)
CIE-LABlab(13.10, 18.84, -34.85)
CIE-LCHlch(13.10, 39.62, 298.40°)
OKLaboklab(25.84% 0.0055 -0.1005)
OKLCHoklch(25.84% 0.101 273.1)
XYZxyz(2.2836, 1.5788, 8.3663)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B53 #534E16
analogous
#163953 #161B53 #2F1653
triadic
#161B53 #53161B #1B5316
tetradic
#161B53 #531639 #534E16 #16532F
square
#161B53 #531639 #534E16 #16532F
split-complementary
#161B53 #532F16 #395316
monochromatic
#060818 #090B23 #161B53 #232B83 #303AB4

Accessibility & contrast

On white

15.96
#161B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B53
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B53#FFFFFF#000000##FFFFFF
##161B531.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161b53;
/* rgb */ color: rgb(22, 27, 83);
/* oklch */ color: oklch(25.8% 0.101 273.1);
Tailwind
colors: {
  custom: {
    50: '#5d5784',
    500: '#161b53',
    950: '#000000',
  },
}
SCSS
$custom: #161b53;
$custom-light: #5d5784;
$custom-dark: #000000;
JSON
{
  "hex": "#161b53",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 235.082,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25841,
    "c": 0.10067,
    "h": 273.1
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#161B53
secondary
#8A843A
accent
#D546E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161B53

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

Preview Lab → · Contrast checker → · Palette generator →

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