#161773#161773

#161773 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.150 H 271.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#161773
RGBrgb(22, 23, 115)
HSLhsl(239, 68%, 27%)
HSVhsv(239, 81%, 45%)
CMYKcmyk(80.9%, 80%, 0%, 54.9%)
CIE-LABlab(15.60, 33.73, -51.96)
CIE-LCHlch(15.60, 61.95, 302.99°)
OKLaboklab(28.68% 0.0035 -0.1504)
OKLCHoklch(28.68% 0.15 271.3)
XYZxyz(3.7307, 2.0208, 16.4098)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161773 #737216
analogous
#164673 #161773 #441673
triadic
#161773 #731617 #177316
tetradic
#161773 #731646 #737216 #167344
square
#161773 #731646 #737216 #167344
split-complementary
#161773 #734416 #467316
monochromatic
#05051A #0C0D40 #161773 #2021A6 #2D2ED7

Accessibility & contrast

On white

14.96
#161773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161773
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161773#FFFFFF#000000##FFFFFF
##1617731.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161773;
/* rgb */ color: rgb(22, 23, 115);
/* oklch */ color: oklch(28.7% 0.150 271.3);
Tailwind
colors: {
  custom: {
    50: '#66569c',
    500: '#161773',
    950: '#000000',
  },
}
SCSS
$custom: #161773;
$custom-light: #66569c;
$custom-dark: #000000;
JSON
{
  "hex": "#161773",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 239.355,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.15047,
    "h": 271.3
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#161773
secondary
#A9A83C
accent
#E93DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161773

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

Preview Lab → · Contrast checker → · Palette generator →

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