#16217B#16217B

#16217B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.150 H 269.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#16217B
RGBrgb(22, 33, 123)
HSLhsl(233, 70%, 28%)
HSVhsv(233, 82%, 48%)
CMYKcmyk(82.1%, 73.2%, 0%, 51.8%)
CIE-LABlab(18.75, 30.42, -51.89)
CIE-LCHlch(18.75, 60.15, 300.38°)
OKLaboklab(31.2% -0.0021 -0.1503)
OKLCHoklch(31.2% 0.15 269.2)
XYZxyz(4.4487, 2.6878, 19.0194)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16217B #7B7016
analogous
#16537B #16217B #3D167B
triadic
#16217B #7B1621 #217B16
tetradic
#16217B #7B1653 #7B7016 #167B3D
square
#16217B #7B1653 #7B7016 #167B3D
split-complementary
#16217B #7B3D16 #537B16
monochromatic
#05071A #0D1347 #16217B #1F2FAF #3144DA

Accessibility & contrast

On white

13.66
#16217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#16217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16217B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16217B#FFFFFF#000000##FFFFFF
##16217B1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16217b;
/* rgb */ color: rgb(22, 33, 123);
/* oklch */ color: oklch(31.2% 0.150 269.2);
Tailwind
colors: {
  custom: {
    50: '#675ca2',
    500: '#16217b',
    950: '#000000',
  },
}
SCSS
$custom: #16217b;
$custom-light: #675ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#16217b",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 233.465,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31199,
    "c": 0.15031,
    "h": 269.2
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#16217B
secondary
#B0A43D
accent
#D93BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16217B

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

Preview Lab → · Contrast checker → · Palette generator →

#16217B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva