#221081#221081

#221081 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.170 H 276.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#221081
RGBrgb(34, 16, 129)
HSLhsl(250, 78%, 28%)
HSVhsv(250, 88%, 51%)
CMYKcmyk(73.6%, 87.6%, 0%, 49.4%)
CIE-LABlab(16.97, 42.80, -58.63)
CIE-LCHlch(16.97, 72.59, 306.13°)
OKLaboklab(30.36% 0.0187 -0.1694)
OKLCHoklch(30.36% 0.17 276.3)
XYZxyz(4.8061, 2.2952, 20.9544)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221081 #6F8110
analogous
#103681 #221081 #5A1081
triadic
#221081 #812210 #108122
tetradic
#221081 #811036 #6F8110 #10815A
square
#221081 #811036 #6F8110 #10815A
split-complementary
#221081 #815A10 #368110
monochromatic
#07031B #14094B #221081 #3017B7 #4527E4

Accessibility & contrast

On white

14.39
#221081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#221081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221081
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221081#FFFFFF#000000##FFFFFF
##2210811.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221081;
/* rgb */ color: rgb(34, 16, 129);
/* oklch */ color: oklch(30.4% 0.170 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e54a7',
    500: '#221081',
    950: '#000000',
  },
}
SCSS
$custom: #221081;
$custom-light: #6e54a7;
$custom-dark: #000000;
JSON
{
  "hex": "#221081",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 249.558,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30357,
    "c": 0.17044,
    "h": 276.3
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#221081
secondary
#A2B736
accent
#F433D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221081

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

Preview Lab → · Contrast checker → · Palette generator →

#221081 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva