#161973#161973

#161973 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.148 H 271.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#161973
RGBrgb(22, 25, 115)
HSLhsl(238, 68%, 27%)
HSVhsv(238, 81%, 45%)
CMYKcmyk(80.9%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.02, 32.53, -51.26)
CIE-LCHlch(16.02, 60.71, 302.40°)
OKLaboklab(28.98% 0.0027 -0.1484)
OKLCHoklch(28.98% 0.148 271)
XYZxyz(3.7720, 2.1032, 16.4235)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161973 #737016
analogous
#164773 #161973 #421673
triadic
#161973 #731619 #197316
tetradic
#161973 #731647 #737016 #167342
square
#161973 #731647 #737016 #167342
split-complementary
#161973 #734216 #477316
monochromatic
#05061A #0C0E40 #161973 #2024A6 #2D32D7

Accessibility & contrast

On white

14.78
#161973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161973
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161973#FFFFFF#000000##FFFFFF
##1619731.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161973;
/* rgb */ color: rgb(22, 25, 115);
/* oklch */ color: oklch(29.0% 0.148 271.0);
Tailwind
colors: {
  custom: {
    50: '#66579c',
    500: '#161973',
    950: '#000000',
  },
}
SCSS
$custom: #161973;
$custom-light: #66579c;
$custom-dark: #000000;
JSON
{
  "hex": "#161973",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 238.065,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2898,
    "c": 0.14844,
    "h": 271
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161973

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

Preview Lab → · Contrast checker → · Palette generator →

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