#161A4F#161A4F

#161A4F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.096 H 274.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#161A4F
RGBrgb(22, 26, 79)
HSLhsl(236, 56%, 20%)
HSVhsv(236, 72%, 31%)
CMYKcmyk(72.2%, 67.1%, 0%, 69%)
CIE-LABlab(12.44, 17.96, -33.20)
CIE-LCHlch(12.44, 37.75, 298.42°)
OKLaboklab(25.24% 0.0066 -0.0957)
OKLCHoklch(25.24% 0.096 274)
XYZxyz(2.1111, 1.4737, 7.5688)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A4F #4F4B16
analogous
#16374F #161A4F #2E164F
triadic
#161A4F #4F161A #1A4F16
tetradic
#161A4F #4F1637 #4F4B16 #164F2E
square
#161A4F #4F1637 #4F4B16 #164F2E
split-complementary
#161A4F #4F2E16 #374F16
monochromatic
#070818 #090A1F #161A4F #232A7F #313AAF

Accessibility & contrast

On white

16.22
#161A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A4F
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A4F#FFFFFF#000000##FFFFFF
##161A4F1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161a4f;
/* rgb */ color: rgb(22, 26, 79);
/* oklch */ color: oklch(25.2% 0.096 274.0);
Tailwind
colors: {
  custom: {
    50: '#5c5681',
    500: '#161a4f',
    950: '#000000',
  },
}
SCSS
$custom: #161a4f;
$custom-light: #5c5681;
$custom-dark: #000000;
JSON
{
  "hex": "#161a4f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 235.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25237,
    "c": 0.0959,
    "h": 274
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#161A4F
secondary
#86813A
accent
#D548E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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