#16217D#16217D

#16217D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.153 H 269.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#16217D
RGBrgb(22, 33, 125)
HSLhsl(234, 70%, 29%)
HSVhsv(234, 82%, 49%)
CMYKcmyk(82.4%, 73.6%, 0%, 51%)
CIE-LABlab(18.96, 31.17, -52.81)
CIE-LCHlch(18.96, 61.32, 300.56°)
OKLaboklab(31.42% -0.0023 -0.153)
OKLCHoklch(31.42% 0.153 269.1)
XYZxyz(4.5751, 2.7384, 19.6855)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16217D #7D7216
analogous
#16557D #16217D #3F167D
triadic
#16217D #7D1621 #217D16
tetradic
#16217D #7D1655 #7D7216 #167D3F
square
#16217D #7D1655 #7D7216 #167D3F
split-complementary
#16217D #7D3F16 #557D16
monochromatic
#05071A #0D1349 #16217D #1F2FB1 #3244DB

Accessibility & contrast

On white

13.57
#16217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16217D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16217D#FFFFFF#000000##FFFFFF
##16217D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16217d;
/* rgb */ color: rgb(22, 33, 125);
/* oklch */ color: oklch(31.4% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#685da4',
    500: '#16217d',
    950: '#000000',
  },
}
SCSS
$custom: #16217d;
$custom-light: #685da4;
$custom-dark: #000000;
JSON
{
  "hex": "#16217d",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 233.592,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31419,
    "c": 0.15299,
    "h": 269.1
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16217D

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

Preview Lab → · Contrast checker → · Palette generator →

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