#161A61#161A61

#161A61 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.123 H 272.3°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#161A61
RGBrgb(22, 26, 97)
HSLhsl(237, 63%, 23%)
HSVhsv(237, 77%, 38%)
CMYKcmyk(77.3%, 73.2%, 0%, 62%)
CIE-LABlab(14.24, 25.11, -42.39)
CIE-LCHlch(14.24, 49.27, 300.64°)
OKLaboklab(27.11% 0.005 -0.1226)
OKLCHoklch(27.11% 0.123 272.3)
XYZxyz(2.8572, 1.7721, 11.4984)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A61 #615D16
analogous
#163F61 #161A61 #371661
triadic
#161A61 #61161A #1A6116
tetradic
#161A61 #61163F #615D16 #166137
square
#161A61 #61163F #615D16 #166137
split-complementary
#161A61 #613716 #3F6116
monochromatic
#060719 #0B0D2F #161A61 #212793 #2D35C5

Accessibility & contrast

On white

15.51
#161A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A61
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A61#FFFFFF#000000##FFFFFF
##161A611.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161a61;
/* rgb */ color: rgb(22, 26, 97);
/* oklch */ color: oklch(27.1% 0.123 272.3);
Tailwind
colors: {
  custom: {
    50: '#61578f',
    500: '#161a61',
    950: '#000000',
  },
}
SCSS
$custom: #161a61;
$custom-light: #61578f;
$custom-dark: #000000;
JSON
{
  "hex": "#161a61",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 236.8,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27107,
    "c": 0.1227,
    "h": 272.3
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#161A61
secondary
#98933B
accent
#DD42E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161A61

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

Preview Lab → · Contrast checker → · Palette generator →

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