#221280#221280

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

Color values

HEX#221280
RGBrgb(34, 18, 128)
HSLhsl(249, 75%, 29%)
HSVhsv(249, 86%, 50%)
CMYKcmyk(73.4%, 85.9%, 0%, 49.8%)
CIE-LABlab(17.14, 41.62, -57.72)
CIE-LCHlch(17.14, 71.16, 305.79°)
OKLaboklab(30.44% 0.0183 -0.1668)
OKLCHoklch(30.44% 0.168 276.3)
XYZxyz(4.7710, 2.3308, 20.6163)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221280 #708012
analogous
#123980 #221280 #591280
triadic
#221280 #802212 #128022
tetradic
#221280 #801239 #708012 #128059
square
#221280 #801239 #708012 #128059
split-complementary
#221280 #805912 #398012
monochromatic
#07041B #140A4A #221280 #301AB6 #462BE1

Accessibility & contrast

On white

14.32
#221280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#221280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221280
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221280#FFFFFF#000000##FFFFFF
##2212801.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221280;
/* rgb */ color: rgb(34, 18, 128);
/* oklch */ color: oklch(30.4% 0.168 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e55a6',
    500: '#221280',
    950: '#000000',
  },
}
SCSS
$custom: #221280;
$custom-light: #6e55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221280",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 248.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30437,
    "c": 0.16779,
    "h": 276.3
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#221280
secondary
#A3B638
accent
#F236D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221280

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

Preview Lab → · Contrast checker → · Palette generator →

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