#161D46#161D46

#161D46 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.077 H 272.4°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#161D46
RGBrgb(22, 29, 70)
HSLhsl(231, 52%, 18%)
HSVhsv(231, 69%, 27%)
CMYKcmyk(68.6%, 58.6%, 0%, 72.5%)
CIE-LABlab(12.55, 12.04, -26.80)
CIE-LCHlch(12.55, 29.38, 294.19°)
OKLaboklab(25.07% 0.0032 -0.0768)
OKLCHoklch(25.07% 0.077 272.4)
XYZxyz(1.8754, 1.4913, 5.9822)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D46 #463F16
analogous
#163546 #161D46 #271646
triadic
#161D46 #46161D #1D4616
tetradic
#161D46 #461635 #463F16 #164627
square
#161D46 #461635 #463F16 #164627
split-complementary
#161D46 #462716 #354616
monochromatic
#070A17 #070A17 #161D46 #253075 #3344A3

Accessibility & contrast

On white

16.18
#161D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D46
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D46#FFFFFF#000000##FFFFFF
##161D461.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052347
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161d46;
/* rgb */ color: rgb(22, 29, 70);
/* oklch */ color: oklch(25.1% 0.077 272.4);
Tailwind
colors: {
  custom: {
    50: '#59587a',
    500: '#161d46',
    950: '#000000',
  },
}
SCSS
$custom: #161d46;
$custom-light: #59587a;
$custom-dark: #000000;
JSON
{
  "hex": "#161d46",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 231.25,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25074,
    "c": 0.07689,
    "h": 272.4
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#161D46
secondary
#7D743A
accent
#C74CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161D46

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

Preview Lab → · Contrast checker → · Palette generator →

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