#161671#161671

#161671 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.149 H 271.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#161671
RGBrgb(22, 22, 113)
HSLhsl(240, 67%, 26%)
HSVhsv(240, 81%, 44%)
CMYKcmyk(80.5%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.15, 33.61, -51.40)
CIE-LCHlch(15.15, 61.41, 303.18°)
OKLaboklab(28.3% 0.0043 -0.1488)
OKLCHoklch(28.3% 0.149 271.7)
XYZxyz(3.5974, 1.9363, 15.8037)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161671 #717116
analogous
#164471 #161671 #441671
triadic
#161671 #711616 #167116
tetradic
#161671 #711644 #717116 #167144
square
#161671 #711644 #717116 #167144
split-complementary
#161671 #714416 #447116
monochromatic
#05051A #0C0C3E #161671 #2020A4 #2C2CD6

Accessibility & contrast

On white

15.14
#161671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161671
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161671#FFFFFF#000000##FFFFFF
##1616711.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161671;
/* rgb */ color: rgb(22, 22, 113);
/* oklch */ color: oklch(28.3% 0.149 271.7);
Tailwind
colors: {
  custom: {
    50: '#65559b',
    500: '#161671',
    950: '#000000',
  },
}
SCSS
$custom: #161671;
$custom-light: #65559b;
$custom-dark: #000000;
JSON
{
  "hex": "#161671",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 240,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28295,
    "c": 0.14887,
    "h": 271.7
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#161671
secondary
#A7A73C
accent
#EA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161671

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

Preview Lab → · Contrast checker → · Palette generator →

#161671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva