#161672#161672

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

Color values

HEX#161672
RGBrgb(22, 22, 114)
HSLhsl(240, 68%, 27%)
HSVhsv(240, 81%, 45%)
CMYKcmyk(80.7%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.27, 33.97, -51.85)
CIE-LCHlch(15.27, 61.98, 303.23°)
OKLaboklab(28.42% 0.0041 -0.1501)
OKLCHoklch(28.42% 0.15 271.6)
XYZxyz(3.6540, 1.9589, 16.1019)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161672 #727216
analogous
#164472 #161672 #441672
triadic
#161672 #721616 #167216
tetradic
#161672 #721644 #727216 #167244
square
#161672 #721644 #727216 #167244
split-complementary
#161672 #724416 #447216
monochromatic
#05051A #0C0C3F #161672 #2020A5 #2C2CD6

Accessibility & contrast

On white

15.09
#161672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161672
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161672#FFFFFF#000000##FFFFFF
##1616721.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161672;
/* rgb */ color: rgb(22, 22, 114);
/* oklch */ color: oklch(28.4% 0.150 271.6);
Tailwind
colors: {
  custom: {
    50: '#66559c',
    500: '#161672',
    950: '#000000',
  },
}
SCSS
$custom: #161672;
$custom-light: #66559c;
$custom-dark: #000000;
JSON
{
  "hex": "#161672",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 240,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28415,
    "c": 0.15017,
    "h": 271.6
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161672

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

Preview Lab → · Contrast checker → · Palette generator →

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