#221482#221482

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

Color values

HEX#221482
RGBrgb(34, 20, 130)
HSLhsl(248, 73%, 29%)
HSVhsv(248, 85%, 51%)
CMYKcmyk(73.8%, 84.6%, 0%, 49%)
CIE-LABlab(17.70, 41.32, -58.05)
CIE-LCHlch(17.70, 71.25, 305.44°)
OKLaboklab(30.9% 0.017 -0.1678)
OKLCHoklch(30.9% 0.169 275.8)
XYZxyz(4.9378, 2.4516, 21.3278)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221482 #748214
analogous
#143D82 #221482 #591482
triadic
#221482 #822214 #148222
tetradic
#221482 #82143D #748214 #148259
square
#221482 #82143D #748214 #148259
split-complementary
#221482 #825914 #3D8214
monochromatic
#07041B #140C4D #221482 #301CB7 #4731DF

Accessibility & contrast

On white

14.09
#221482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221482
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221482#FFFFFF#000000##FFFFFF
##2214821.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003085
Deuteranopia (green-blind)
#002680
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #221482;
/* rgb */ color: rgb(34, 20, 130);
/* oklch */ color: oklch(30.9% 0.169 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e56a8',
    500: '#221482',
    950: '#000000',
  },
}
SCSS
$custom: #221482;
$custom-light: #6e56a8;
$custom-dark: #000000;
JSON
{
  "hex": "#221482",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 247.636,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30897,
    "c": 0.16865,
    "h": 275.8
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#221482
secondary
#A7B73B
accent
#F038D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221482

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

Preview Lab → · Contrast checker → · Palette generator →

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