#161F6D#161F6D

#161F6D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.134 H 270.2°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#161F6D
RGBrgb(22, 31, 109)
HSLhsl(234, 66%, 26%)
HSVhsv(234, 80%, 43%)
CMYKcmyk(79.8%, 71.6%, 0%, 57.3%)
CIE-LABlab(16.77, 26.36, -46.13)
CIE-LCHlch(16.77, 53.13, 299.75°)
OKLaboklab(29.32% 0.0005 -0.1335)
OKLCHoklch(29.32% 0.134 270.2)
XYZxyz(3.5802, 2.2543, 14.7115)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F6D #6D6416
analogous
#164A6D #161F6D #38166D
triadic
#161F6D #6D161F #1F6D16
tetradic
#161F6D #6D164A #6D6416 #166D38
square
#161F6D #6D164A #6D6416 #166D38
split-complementary
#161F6D #6D3816 #4A6D16
monochromatic
#050719 #0C113A #161F6D #202DA0 #2B3CD3

Accessibility & contrast

On white

14.47
#161F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F6D
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F6D#FFFFFF#000000##FFFFFF
##161F6D1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161f6d;
/* rgb */ color: rgb(22, 31, 109);
/* oklch */ color: oklch(29.3% 0.134 270.2);
Tailwind
colors: {
  custom: {
    50: '#635b98',
    500: '#161f6d',
    950: '#000000',
  },
}
SCSS
$custom: #161f6d;
$custom-light: #635b98;
$custom-dark: #000000;
JSON
{
  "hex": "#161f6d",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 233.793,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29319,
    "c": 0.1335,
    "h": 270.2
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#161F6D
secondary
#A3983C
accent
#D83EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #161F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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