#221680#221680

#221680 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.165 H 275.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#221680
RGBrgb(34, 22, 128)
HSLhsl(247, 71%, 29%)
HSVhsv(247, 83%, 50%)
CMYKcmyk(73.4%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.79, 39.69, -56.63)
CIE-LCHlch(17.79, 69.15, 305.03°)
OKLaboklab(30.89% 0.0167 -0.1637)
OKLCHoklch(30.89% 0.165 275.8)
XYZxyz(4.8416, 2.4720, 20.6399)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221680 #748016
analogous
#163F80 #221680 #571680
triadic
#221680 #802216 #168022
tetradic
#221680 #80163F #748016 #168057
square
#221680 #80163F #748016 #168057
split-complementary
#221680 #805716 #3F8016
monochromatic
#07041A #140D4C #221680 #301FB4 #4734DC

Accessibility & contrast

On white

14.05
#221680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#221680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221680
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221680#FFFFFF#000000##FFFFFF
##2216801.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #221680;
/* rgb */ color: rgb(34, 22, 128);
/* oklch */ color: oklch(30.9% 0.165 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e57a6',
    500: '#221680',
    950: '#000000',
  },
}
SCSS
$custom: #221680;
$custom-light: #6e57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221680",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 246.792,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30891,
    "c": 0.16455,
    "h": 275.8
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#221680
secondary
#A7B53D
accent
#ED3AD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221680

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

Preview Lab → · Contrast checker → · Palette generator →

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