#161A45#161A45

#161A45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.080 H 274.8°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#161A45
RGBrgb(22, 26, 69)
HSLhsl(235, 52%, 18%)
HSVhsv(235, 68%, 27%)
CMYKcmyk(68.1%, 62.3%, 0%, 72.9%)
CIE-LABlab(11.54, 13.90, -27.74)
CIE-LCHlch(11.54, 31.03, 296.63°)
OKLaboklab(24.29% 0.0066 -0.0796)
OKLCHoklch(24.29% 0.08 274.8)
XYZxyz(1.7741, 1.3389, 5.7940)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A45 #454116
analogous
#163145 #161A45 #2A1645
triadic
#161A45 #45161A #1A4516
tetradic
#161A45 #451631 #454116 #16452A
square
#161A45 #451631 #454116 #16452A
split-complementary
#161A45 #452A16 #314516
monochromatic
#070917 #070917 #161A45 #252B73 #343DA2

Accessibility & contrast

On white

16.56
#161A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A45
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A45#FFFFFF#000000##FFFFFF
##161A451.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002146
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161a45;
/* rgb */ color: rgb(22, 26, 69);
/* oklch */ color: oklch(24.3% 0.080 274.8);
Tailwind
colors: {
  custom: {
    50: '#595679',
    500: '#161a45',
    950: '#000000',
  },
}
SCSS
$custom: #161a45;
$custom-light: #595679;
$custom-dark: #000000;
JSON
{
  "hex": "#161a45",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 234.894,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24291,
    "c": 0.07989,
    "h": 274.8
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#161A45
secondary
#7C773A
accent
#CF4DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161A45

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

Preview Lab → · Contrast checker → · Palette generator →

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