#161A6D#161A6D

#161A6D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.139 H 271.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#161A6D
RGBrgb(22, 26, 109)
HSLhsl(237, 66%, 26%)
HSVhsv(237, 80%, 43%)
CMYKcmyk(79.8%, 76.1%, 0%, 57.3%)
CIE-LABlab(15.56, 29.69, -48.13)
CIE-LCHlch(15.56, 56.55, 301.67°)
OKLaboklab(28.45% 0.0033 -0.1393)
OKLCHoklch(28.45% 0.139 271.3)
XYZxyz(3.4597, 2.0131, 14.6713)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A6D #6D6916
analogous
#16456D #161A6D #3D166D
triadic
#161A6D #6D161A #1A6D16
tetradic
#161A6D #6D1645 #6D6916 #166D3D
square
#161A6D #6D1645 #6D6916 #166D3D
split-complementary
#161A6D #6D3D16 #456D16
monochromatic
#050619 #0C0E3A #161A6D #2026A0 #2B32D3

Accessibility & contrast

On white

14.97
#161A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A6D
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A6D#FFFFFF#000000##FFFFFF
##161A6D1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161a6d;
/* rgb */ color: rgb(22, 26, 109);
/* oklch */ color: oklch(28.4% 0.139 271.3);
Tailwind
colors: {
  custom: {
    50: '#645798',
    500: '#161a6d',
    950: '#000000',
  },
}
SCSS
$custom: #161a6d;
$custom-light: #645798;
$custom-dark: #000000;
JSON
{
  "hex": "#161a6d",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 237.241,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.13936,
    "h": 271.3
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#161A6D
secondary
#A39E3C
accent
#E13EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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