#161A54#161A54

#161A54 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.104 H 273.5°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#161A54
RGBrgb(22, 26, 84)
HSLhsl(236, 58%, 21%)
HSVhsv(236, 74%, 33%)
CMYKcmyk(73.8%, 69%, 0%, 67.1%)
CIE-LABlab(12.92, 19.98, -35.83)
CIE-LCHlch(12.92, 41.02, 299.14°)
OKLaboklab(25.74% 0.0064 -0.1034)
OKLCHoklch(25.74% 0.104 273.5)
XYZxyz(2.3000, 1.5492, 8.5636)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A54 #545016
analogous
#163954 #161A54 #311654
triadic
#161A54 #54161A #1A5416
tetradic
#161A54 #541639 #545016 #165431
square
#161A54 #541639 #545016 #165431
split-complementary
#161A54 #543116 #395416
monochromatic
#060818 #090B24 #161A54 #232984 #2F38B5

Accessibility & contrast

On white

16.03
#161A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A54
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A54#FFFFFF#000000##FFFFFF
##161A541.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161a54;
/* rgb */ color: rgb(22, 26, 84);
/* oklch */ color: oklch(25.7% 0.104 273.5);
Tailwind
colors: {
  custom: {
    50: '#5d5685',
    500: '#161a54',
    950: '#000000',
  },
}
SCSS
$custom: #161a54;
$custom-light: #5d5685;
$custom-dark: #000000;
JSON
{
  "hex": "#161a54",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 236.129,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25736,
    "c": 0.1036,
    "h": 273.5
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#161A54
secondary
#8B863A
accent
#D846E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161A54

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

Preview Lab → · Contrast checker → · Palette generator →

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