#161C6B#161C6B

#161C6B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.134 H 271.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#161C6B
RGBrgb(22, 28, 107)
HSLhsl(236, 66%, 25%)
HSVhsv(236, 79%, 42%)
CMYKcmyk(79.4%, 73.8%, 0%, 58%)
CIE-LABlab(15.81, 27.62, -46.40)
CIE-LCHlch(15.81, 54.00, 300.76°)
OKLaboklab(28.56% 0.0025 -0.1343)
OKLCHoklch(28.56% 0.134 271.1)
XYZxyz(3.3991, 2.0623, 14.1260)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C6B #6B6516
analogous
#16466B #161C6B #3B166B
triadic
#161C6B #6B161C #1C6B16
tetradic
#161C6B #6B1646 #6B6516 #166B3B
square
#161C6B #6B1646 #6B6516 #166B3B
split-complementary
#161C6B #6B3B16 #466B16
monochromatic
#050719 #0C0F38 #161C6B #20299E #2B37D1

Accessibility & contrast

On white

14.87
#161C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C6B
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C6B#FFFFFF#000000##FFFFFF
##161C6B1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c6b;
/* rgb */ color: rgb(22, 28, 107);
/* oklch */ color: oklch(28.6% 0.134 271.1);
Tailwind
colors: {
  custom: {
    50: '#635896',
    500: '#161c6b',
    950: '#000000',
  },
}
SCSS
$custom: #161c6b;
$custom-light: #635896;
$custom-dark: #000000;
JSON
{
  "hex": "#161c6b",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 235.765,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28562,
    "c": 0.13432,
    "h": 271.1
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#161C6B
secondary
#A19A3B
accent
#DD3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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