#16217E#16217E

#16217E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.154 H 269.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#16217E
RGBrgb(22, 33, 126)
HSLhsl(234, 70%, 29%)
HSVhsv(234, 83%, 49%)
CMYKcmyk(82.5%, 73.8%, 0%, 50.6%)
CIE-LABlab(19.07, 31.55, -53.26)
CIE-LCHlch(19.07, 61.91, 300.64°)
OKLaboklab(31.53% -0.0024 -0.1543)
OKLCHoklch(31.53% 0.154 269.1)
XYZxyz(4.6393, 2.7641, 20.0236)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16217E #7E7316
analogous
#16557E #16217E #3F167E
triadic
#16217E #7E1621 #217E16
tetradic
#16217E #7E1655 #7E7316 #167E3F
square
#16217E #7E1655 #7E7316 #167E3F
split-complementary
#16217E #7E3F16 #557E16
monochromatic
#05071A #0D134A #16217E #1F2FB2 #3345DB

Accessibility & contrast

On white

13.52
#16217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#16217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16217E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16217E#FFFFFF#000000##FFFFFF
##16217E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16217e;
/* rgb */ color: rgb(22, 33, 126);
/* oklch */ color: oklch(31.5% 0.154 269.1);
Tailwind
colors: {
  custom: {
    50: '#685da4',
    500: '#16217e',
    950: '#000000',
  },
}
SCSS
$custom: #16217e;
$custom-light: #685da4;
$custom-dark: #000000;
JSON
{
  "hex": "#16217e",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 233.654,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.15432,
    "h": 269.1
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#16217E
secondary
#B3A63D
accent
#DA3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16217E

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

Preview Lab → · Contrast checker → · Palette generator →

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