#16218D#16218D

#16218D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.174 H 268.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#16218D
RGBrgb(22, 33, 141)
HSLhsl(234, 73%, 32%)
HSVhsv(234, 84%, 55%)
CMYKcmyk(84.4%, 76.6%, 0%, 44.7%)
CIE-LABlab(20.75, 37.07, -59.93)
CIE-LCHlch(20.75, 70.46, 301.74°)
OKLaboklab(33.23% -0.0045 -0.1737)
OKLCHoklch(33.23% 0.174 268.5)
XYZxyz(5.6808, 3.1807, 25.5087)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16218D #8D8216
analogous
#165D8D #16218D #47168D
triadic
#16218D #8D1621 #218D16
tetradic
#16218D #8D165D #8D8216 #168D47
square
#16218D #8D165D #8D8216 #168D47
split-complementary
#16218D #8D4716 #5D8D16
monochromatic
#050823 #0E1558 #16218D #1E2DC2 #3D4CE1

Accessibility & contrast

On white

12.83
#16218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#16218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16218D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16218D#FFFFFF#000000##FFFFFF
##16218D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16218d;
/* rgb */ color: rgb(22, 33, 141);
/* oklch */ color: oklch(33.2% 0.174 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c5db0',
    500: '#16218d',
    950: '#000000',
  },
}
SCSS
$custom: #16218d;
$custom-light: #6c5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#16218d",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 234.454,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.17372,
    "h": 268.5
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#16218D
secondary
#C1B43E
accent
#DF38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #16218D

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

Preview Lab → · Contrast checker → · Palette generator →

#16218D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva