#3226C6#3226C6

#3226C6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.9% C 0.230 H 273.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3226C6
RGBrgb(50, 38, 198)
HSLhsl(245, 68%, 46%)
HSVhsv(245, 81%, 78%)
CMYKcmyk(74.7%, 80.8%, 0%, 22.4%)
CIE-LABlab(29.76, 54.95, -79.37)
CIE-LCHlch(29.76, 96.53, 304.70°)
OKLaboklab(41.88% 0.0138 -0.2296)
OKLCHoklch(41.88% 0.23 273.4)
XYZxyz(12.1982, 6.1403, 53.9575)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226C6 #BAC626
analogous
#266AC6 #3226C6 #8226C6
triadic
#3226C6 #C63226 #26C632
tetradic
#3226C6 #C6266A #BAC626 #26C682
square
#3226C6 #C6266A #BAC626 #26C682
split-complementary
#3226C6 #C68226 #6AC626
monochromatic
#18125F #251C93 #3226C6 #574CDD #8880E7

Accessibility & contrast

On white

9.42
#3226C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3226C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226C6
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226C6#FFFFFF#000000##FFFFFF
##3226C61.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DCA
Deuteranopia (green-blind)
#003EC3
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3226c6;
/* rgb */ color: rgb(50, 38, 198);
/* oklch */ color: oklch(41.9% 0.230 273.4);
Tailwind
colors: {
  custom: {
    50: '#8365d9',
    500: '#3226c6',
    950: '#000000',
  },
}
SCSS
$custom: #3226c6;
$custom-light: #8365d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3226c6",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 198
  },
  "hsl": {
    "h": 244.5,
    "s": 67.797,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.22999,
    "h": 273.4
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#3226C6
secondary
#C9CF79
accent
#EB3DDE
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3226C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3226C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva