#161D4F#161D4F

#161D4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.092 H 272.3°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#161D4F
RGBrgb(22, 29, 79)
HSLhsl(233, 56%, 20%)
HSVhsv(233, 72%, 31%)
CMYKcmyk(72.2%, 63.3%, 0%, 69%)
CIE-LABlab(13.31, 15.74, -31.78)
CIE-LCHlch(13.31, 35.46, 296.34°)
OKLaboklab(25.88% 0.0037 -0.0915)
OKLCHoklch(25.88% 0.092 272.3)
XYZxyz(2.1811, 1.6136, 7.5921)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D4F #4F4816
analogous
#16394F #161D4F #2C164F
triadic
#161D4F #4F161D #1D4F16
tetradic
#161D4F #4F1639 #4F4816 #164F2C
square
#161D4F #4F1639 #4F4816 #164F2C
split-complementary
#161D4F #4F2C16 #394F16
monochromatic
#070918 #090B1F #161D4F #232F7F #3140AF

Accessibility & contrast

On white

15.88
#161D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D4F
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D4F#FFFFFF#000000##FFFFFF
##161D4F1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161d4f;
/* rgb */ color: rgb(22, 29, 79);
/* oklch */ color: oklch(25.9% 0.092 272.3);
Tailwind
colors: {
  custom: {
    50: '#5b5881',
    500: '#161d4f',
    950: '#000000',
  },
}
SCSS
$custom: #161d4f;
$custom-light: #5b5881;
$custom-dark: #000000;
JSON
{
  "hex": "#161d4f",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 232.632,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25884,
    "c": 0.09153,
    "h": 272.3
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#161D4F
secondary
#867D3A
accent
#CD48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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