#161D53#161D53

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

Color values

HEX#161D53
RGBrgb(22, 29, 83)
HSLhsl(233, 58%, 21%)
HSVhsv(233, 73%, 33%)
CMYKcmyk(73.5%, 65.1%, 0%, 67.5%)
CIE-LABlab(13.67, 17.37, -33.92)
CIE-LCHlch(13.67, 38.11, 297.12°)
OKLaboklab(26.26% 0.0037 -0.0978)
OKLCHoklch(26.26% 0.098 272.2)
XYZxyz(2.3310, 1.6736, 8.3821)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D53 #534C16
analogous
#163B53 #161D53 #2D1653
triadic
#161D53 #53161D #1D5316
tetradic
#161D53 #53163B #534C16 #16532D
square
#161D53 #53163B #534C16 #16532D
split-complementary
#161D53 #532D16 #3B5316
monochromatic
#060818 #090C23 #161D53 #232E83 #303FB4

Accessibility & contrast

On white

15.73
#161D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D53
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D53#FFFFFF#000000##FFFFFF
##161D531.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161d53;
/* rgb */ color: rgb(22, 29, 83);
/* oklch */ color: oklch(26.3% 0.098 272.2);
Tailwind
colors: {
  custom: {
    50: '#5c5884',
    500: '#161d53',
    950: '#000000',
  },
}
SCSS
$custom: #161d53;
$custom-light: #5c5884;
$custom-dark: #000000;
JSON
{
  "hex": "#161d53",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 233.115,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26263,
    "c": 0.09783,
    "h": 272.2
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#161D53
secondary
#8A813A
accent
#D046E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #161D53

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

Preview Lab → · Contrast checker → · Palette generator →

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