#16216F#16216F

#16216F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.134 H 269.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#16216F
RGBrgb(22, 33, 111)
HSLhsl(233, 67%, 26%)
HSVhsv(233, 80%, 44%)
CMYKcmyk(80.2%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.49, 25.77, -46.25)
CIE-LCHlch(17.49, 52.95, 299.13°)
OKLaboklab(29.9% -0.0008 -0.1338)
OKLCHoklch(29.9% 0.134 269.6)
XYZxyz(3.7430, 2.4056, 15.3029)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16216F #6F6416
analogous
#164D6F #16216F #37166F
triadic
#16216F #6F1621 #216F16
tetradic
#16216F #6F164D #6F6416 #166F37
square
#16216F #6F164D #6F6416 #166F37
split-complementary
#16216F #6F3716 #4D6F16
monochromatic
#05081A #0C123C #16216F #2030A2 #2B40D5

Accessibility & contrast

On white

14.18
#16216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#16216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16216F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16216F#FFFFFF#000000##FFFFFF
##16216F1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #16216f;
/* rgb */ color: rgb(22, 33, 111);
/* oklch */ color: oklch(29.9% 0.134 269.6);
Tailwind
colors: {
  custom: {
    50: '#645c99',
    500: '#16216f',
    950: '#000000',
  },
}
SCSS
$custom: #16216f;
$custom-light: #645c99;
$custom-dark: #000000;
JSON
{
  "hex": "#16216f",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 232.584,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29903,
    "c": 0.13385,
    "h": 269.6
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#16216F
secondary
#A5983C
accent
#D53EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #16216F

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

Preview Lab → · Contrast checker → · Palette generator →

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