#161972#161972

#161972 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.147 H 271.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#161972
RGBrgb(22, 25, 114)
HSLhsl(238, 68%, 27%)
HSVhsv(238, 81%, 45%)
CMYKcmyk(80.7%, 78.1%, 0%, 55.3%)
CIE-LABlab(15.90, 32.17, -50.80)
CIE-LCHlch(15.90, 60.13, 302.34°)
OKLaboklab(28.86% 0.0029 -0.1471)
OKLCHoklch(28.86% 0.147 271.1)
XYZxyz(3.7147, 2.0803, 16.1221)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161972 #726F16
analogous
#164772 #161972 #411672
triadic
#161972 #721619 #197216
tetradic
#161972 #721647 #726F16 #167241
square
#161972 #721647 #726F16 #167241
split-complementary
#161972 #724116 #477216
monochromatic
#05061A #0C0E3F #161972 #2024A5 #2C32D6

Accessibility & contrast

On white

14.83
#161972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161972
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161972#FFFFFF#000000##FFFFFF
##1619721.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161972;
/* rgb */ color: rgb(22, 25, 114);
/* oklch */ color: oklch(28.9% 0.147 271.1);
Tailwind
colors: {
  custom: {
    50: '#65579c',
    500: '#161972',
    950: '#000000',
  },
}
SCSS
$custom: #161972;
$custom-light: #65579c;
$custom-dark: #000000;
JSON
{
  "hex": "#161972",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 238.043,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28863,
    "c": 0.14713,
    "h": 271.1
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#161972
secondary
#A8A43C
accent
#E53DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161972

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

Preview Lab → · Contrast checker → · Palette generator →

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