#161C6D#161C6D

#161C6D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.137 H 270.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#161C6D
RGBrgb(22, 28, 109)
HSLhsl(236, 66%, 26%)
HSVhsv(236, 80%, 43%)
CMYKcmyk(79.8%, 74.3%, 0%, 57.3%)
CIE-LABlab(16.03, 28.38, -47.35)
CIE-LCHlch(16.03, 55.20, 300.94°)
OKLaboklab(28.78% 0.0022 -0.1371)
OKLCHoklch(28.78% 0.137 270.9)
XYZxyz(3.5055, 2.1048, 14.6866)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C6D #6D6716
analogous
#16476D #161C6D #3B166D
triadic
#161C6D #6D161C #1C6D16
tetradic
#161C6D #6D1647 #6D6716 #166D3B
square
#161C6D #6D1647 #6D6716 #166D3B
split-complementary
#161C6D #6D3B16 #476D16
monochromatic
#050719 #0C0F3A #161C6D #2029A0 #2B36D3

Accessibility & contrast

On white

14.78
#161C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C6D
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C6D#FFFFFF#000000##FFFFFF
##161C6D1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c6d;
/* rgb */ color: rgb(22, 28, 109);
/* oklch */ color: oklch(28.8% 0.137 270.9);
Tailwind
colors: {
  custom: {
    50: '#645898',
    500: '#161c6d',
    950: '#000000',
  },
}
SCSS
$custom: #161c6d;
$custom-light: #645898;
$custom-dark: #000000;
JSON
{
  "hex": "#161c6d",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 235.862,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28784,
    "c": 0.13708,
    "h": 270.9
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#161C6D
secondary
#A39C3C
accent
#DE3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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