#161A4E#161A4E

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

Color values

HEX#161A4E
RGBrgb(22, 26, 78)
HSLhsl(236, 56%, 20%)
HSVhsv(236, 72%, 31%)
CMYKcmyk(71.8%, 66.7%, 0%, 69.4%)
CIE-LABlab(12.35, 17.56, -32.67)
CIE-LCHlch(12.35, 37.09, 298.26°)
OKLaboklab(25.14% 0.0067 -0.0941)
OKLCHoklch(25.14% 0.094 274)
XYZxyz(2.0750, 1.4592, 7.3786)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A4E #4E4A16
analogous
#16364E #161A4E #2E164E
triadic
#161A4E #4E161A #1A4E16
tetradic
#161A4E #4E1636 #4E4A16 #164E2E
square
#161A4E #4E1636 #4E4A16 #164E2E
split-complementary
#161A4E #4E2E16 #364E16
monochromatic
#070818 #090A1E #161A4E #232A7E #313AAD

Accessibility & contrast

On white

16.26
#161A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A4E
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A4E#FFFFFF#000000##FFFFFF
##161A4E1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161a4e;
/* rgb */ color: rgb(22, 26, 78);
/* oklch */ color: oklch(25.1% 0.094 274.0);
Tailwind
colors: {
  custom: {
    50: '#5b5680',
    500: '#161a4e',
    950: '#000000',
  },
}
SCSS
$custom: #161a4e;
$custom-light: #5b5680;
$custom-dark: #000000;
JSON
{
  "hex": "#161a4e",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 235.714,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25139,
    "c": 0.09434,
    "h": 274
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#161A4E
secondary
#85803A
accent
#D549DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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