#3226A9#3226A9

#3226A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.196 H 276.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3226A9
RGBrgb(50, 38, 169)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 78%, 66%)
CMYKcmyk(70.4%, 77.5%, 0%, 33.7%)
CIE-LABlab(26.53, 45.99, -67.48)
CIE-LCHlch(26.53, 81.66, 304.27°)
OKLaboklab(38.67% 0.0209 -0.1951)
OKLCHoklch(38.67% 0.196 276.1)
XYZxyz(9.1676, 4.9281, 37.9965)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226A9 #9DA926
analogous
#265BA9 #3226A9 #7326A9
triadic
#3226A9 #A93226 #26A932
tetradic
#3226A9 #A9265B #9DA926 #26A973
square
#3226A9 #A9265B #9DA926 #26A973
split-complementary
#3226A9 #A97326 #5BA926
monochromatic
#141045 #231B77 #3226A9 #483AD3 #766CDE

Accessibility & contrast

On white

10.58
#3226A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3226A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226A9
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226A9#FFFFFF#000000##FFFFFF
##3226A91.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3226a9;
/* rgb */ color: rgb(50, 38, 169);
/* oklch */ color: oklch(38.7% 0.196 276.1);
Tailwind
colors: {
  custom: {
    50: '#7c63c4',
    500: '#3226a9',
    950: '#000000',
  },
}
SCSS
$custom: #3226a9;
$custom-light: #7c63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3226a9",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 245.496,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.19619,
    "h": 276.1
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#3226A9
secondary
#BCC467
accent
#E641D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3226A9

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

Preview Lab → · Contrast checker → · Palette generator →

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