#221290#221290

#221290 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.187 H 274.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#221290
RGBrgb(34, 18, 144)
HSLhsl(248, 78%, 32%)
HSVhsv(248, 88%, 56%)
CMYKcmyk(76.4%, 87.5%, 0%, 43.5%)
CIE-LABlab(19.16, 46.50, -64.41)
CIE-LCHlch(19.16, 79.44, 305.83°)
OKLaboklab(32.41% 0.0133 -0.1862)
OKLCHoklch(32.41% 0.187 274.1)
XYZxyz(5.9084, 2.7857, 26.6065)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221290 #809012
analogous
#124190 #221290 #611290
triadic
#221290 #902212 #129022
tetradic
#221290 #901241 #809012 #129061
square
#221290 #901241 #809012 #129061
split-complementary
#221290 #906112 #419012
monochromatic
#080423 #150B5A #221290 #2F19C6 #4D36E6

Accessibility & contrast

On white

13.49
#221290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#221290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221290
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221290#FFFFFF#000000##FFFFFF
##2212901.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #221290;
/* rgb */ color: rgb(34, 18, 144);
/* oklch */ color: oklch(32.4% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#7256b2',
    500: '#221290',
    950: '#000000',
  },
}
SCSS
$custom: #221290;
$custom-light: #7256b2;
$custom-dark: #000000;
JSON
{
  "hex": "#221290",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 247.619,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.18666,
    "h": 274.1
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#221290
secondary
#B2C43A
accent
#F434DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #221290

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

Preview Lab → · Contrast checker → · Palette generator →

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