#161D6D#161D6D

#161D6D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.136 H 270.7°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#161D6D
RGBrgb(22, 29, 109)
HSLhsl(235, 66%, 26%)
HSVhsv(235, 80%, 43%)
CMYKcmyk(79.8%, 73.4%, 0%, 57.3%)
CIE-LABlab(16.27, 27.72, -46.95)
CIE-LCHlch(16.27, 54.52, 300.56°)
OKLaboklab(28.96% 0.0017 -0.1359)
OKLCHoklch(28.96% 0.136 270.7)
XYZxyz(3.5296, 2.1530, 14.6946)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D6D #6D6616
analogous
#16486D #161D6D #3A166D
triadic
#161D6D #6D161D #1D6D16
tetradic
#161D6D #6D1648 #6D6616 #166D3A
square
#161D6D #6D1648 #6D6616 #166D3A
split-complementary
#161D6D #6D3A16 #486D16
monochromatic
#050719 #0C0F3A #161D6D #202BA0 #2B38D3

Accessibility & contrast

On white

14.68
#161D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D6D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D6D#FFFFFF#000000##FFFFFF
##161D6D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161d6d;
/* rgb */ color: rgb(22, 29, 109);
/* oklch */ color: oklch(29.0% 0.136 270.7);
Tailwind
colors: {
  custom: {
    50: '#645998',
    500: '#161d6d',
    950: '#000000',
  },
}
SCSS
$custom: #161d6d;
$custom-light: #645998;
$custom-dark: #000000;
JSON
{
  "hex": "#161d6d",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 235.172,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28959,
    "c": 0.13591,
    "h": 270.7
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#161D6D
secondary
#A39B3C
accent
#DC3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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