#161F6A#161F6A

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

Color values

HEX#161F6A
RGBrgb(22, 31, 106)
HSLhsl(234, 66%, 25%)
HSVhsv(234, 79%, 42%)
CMYKcmyk(79.2%, 70.8%, 0%, 58.4%)
CIE-LABlab(16.46, 25.19, -44.68)
CIE-LCHlch(16.46, 51.29, 299.41°)
OKLaboklab(29% 0.0008 -0.1293)
OKLCHoklch(29% 0.129 270.4)
XYZxyz(3.4215, 2.1908, 13.8754)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F6A #6A6116
analogous
#16496A #161F6A #37166A
triadic
#161F6A #6A161F #1F6A16
tetradic
#161F6A #6A1649 #6A6116 #166A37
square
#161F6A #6A1649 #6A6116 #166A37
split-complementary
#161F6A #6A3716 #496A16
monochromatic
#050719 #0B1037 #161F6A #212E9D #2B3DCF

Accessibility & contrast

On white

14.60
#161F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F6A
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F6A#FFFFFF#000000##FFFFFF
##161F6A1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161f6a;
/* rgb */ color: rgb(22, 31, 106);
/* oklch */ color: oklch(29.0% 0.129 270.4);
Tailwind
colors: {
  custom: {
    50: '#625a95',
    500: '#161f6a',
    950: '#000000',
  },
}
SCSS
$custom: #161f6a;
$custom-light: #625a95;
$custom-dark: #000000;
JSON
{
  "hex": "#161f6a",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 233.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28999,
    "c": 0.12928,
    "h": 270.4
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#161F6A
secondary
#A0963B
accent
#D63FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #161F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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