#161673#161673

#161673 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.151 H 271.5°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#161673
RGBrgb(22, 22, 115)
HSLhsl(240, 68%, 27%)
HSVhsv(240, 81%, 45%)
CMYKcmyk(80.9%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.39, 34.32, -52.30)
CIE-LCHlch(15.39, 62.55, 303.28°)
OKLaboklab(28.54% 0.0039 -0.1514)
OKLCHoklch(28.54% 0.151 271.5)
XYZxyz(3.7113, 1.9818, 16.4033)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161673 #737316
analogous
#164573 #161673 #451673
triadic
#161673 #731616 #167316
tetradic
#161673 #731645 #737316 #167345
square
#161673 #731645 #737316 #167345
split-complementary
#161673 #734516 #457316
monochromatic
#05051A #0C0C40 #161673 #2020A6 #2D2DD7

Accessibility & contrast

On white

15.04
#161673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161673
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161673#FFFFFF#000000##FFFFFF
##1616731.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161673;
/* rgb */ color: rgb(22, 22, 115);
/* oklch */ color: oklch(28.5% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#66559c',
    500: '#161673',
    950: '#000000',
  },
}
SCSS
$custom: #161673;
$custom-light: #66559c;
$custom-dark: #000000;
JSON
{
  "hex": "#161673",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28536,
    "c": 0.15145,
    "h": 271.5
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#161673
secondary
#A9A93C
accent
#EB3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161673

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

Preview Lab → · Contrast checker → · Palette generator →

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