#16217F#16217F

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

Color values

HEX#16217F
RGBrgb(22, 33, 127)
HSLhsl(234, 70%, 29%)
HSVhsv(234, 83%, 50%)
CMYKcmyk(82.7%, 74%, 0%, 50.2%)
CIE-LABlab(19.18, 31.93, -53.72)
CIE-LCHlch(19.18, 62.49, 300.73°)
OKLaboklab(31.64% -0.0026 -0.1556)
OKLCHoklch(31.64% 0.156 269.1)
XYZxyz(4.7042, 2.7900, 20.3652)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16217F #7F7416
analogous
#16567F #16217F #40167F
triadic
#16217F #7F1621 #217F16
tetradic
#16217F #7F1656 #7F7416 #167F40
square
#16217F #7F1656 #7F7416 #167F40
split-complementary
#16217F #7F4016 #567F16
monochromatic
#05071A #0D134B #16217F #1F2FB3 #3445DC

Accessibility & contrast

On white

13.48
#16217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#16217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16217F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16217F#FFFFFF#000000##FFFFFF
##16217F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16217f;
/* rgb */ color: rgb(22, 33, 127);
/* oklch */ color: oklch(31.6% 0.156 269.1);
Tailwind
colors: {
  custom: {
    50: '#685da5',
    500: '#16217f',
    950: '#000000',
  },
}
SCSS
$custom: #16217f;
$custom-light: #685da5;
$custom-dark: #000000;
JSON
{
  "hex": "#16217f",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 233.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31642,
    "c": 0.15564,
    "h": 269.1
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#16217F
secondary
#B4A73D
accent
#DB3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16217F

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

Preview Lab → · Contrast checker → · Palette generator →

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