#221481#221481

#221481 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.167 H 275.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#221481
RGBrgb(34, 20, 129)
HSLhsl(248, 73%, 29%)
HSVhsv(248, 84%, 51%)
CMYKcmyk(73.6%, 84.5%, 0%, 49.4%)
CIE-LABlab(17.58, 41.00, -57.62)
CIE-LCHlch(17.58, 70.72, 305.43°)
OKLaboklab(30.78% 0.0173 -0.1665)
OKLCHoklch(30.78% 0.167 275.9)
XYZxyz(4.8710, 2.4249, 20.9760)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221481 #738114
analogous
#143D81 #221481 #591481
triadic
#221481 #812214 #148122
tetradic
#221481 #81143D #738114 #148159
square
#221481 #81143D #738114 #148159
split-complementary
#221481 #815914 #3D8114
monochromatic
#07041A #140C4C #221481 #301CB6 #4730DF

Accessibility & contrast

On white

14.14
#221481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221481
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221481#FFFFFF#000000##FFFFFF
##2214811.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #221481;
/* rgb */ color: rgb(34, 20, 129);
/* oklch */ color: oklch(30.8% 0.167 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e56a7',
    500: '#221481',
    950: '#000000',
  },
}
SCSS
$custom: #221481;
$custom-light: #6e56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#221481",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 247.706,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30777,
    "c": 0.16744,
    "h": 275.9
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#221481
secondary
#A6B63B
accent
#F038D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221481

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

Preview Lab → · Contrast checker → · Palette generator →

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