#3226A3#3226A3

#3226A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.189 H 276.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3226A3
RGBrgb(50, 38, 163)
HSLhsl(246, 62%, 39%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(69.3%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.89, 44.08, -64.91)
CIE-LCHlch(25.89, 78.46, 304.18°)
OKLaboklab(38.03% 0.0223 -0.1876)
OKLCHoklch(38.03% 0.189 276.8)
XYZxyz(8.6172, 4.7079, 35.0978)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226A3 #97A326
analogous
#2659A3 #3226A3 #7126A3
triadic
#3226A3 #A33226 #26A332
tetradic
#3226A3 #A32659 #97A326 #26A371
square
#3226A3 #A32659 #97A326 #26A371
split-complementary
#3226A3 #A37126 #59A326
monochromatic
#140F40 #231A71 #3226A3 #4536D0 #7368DC

Accessibility & contrast

On white

10.81
#3226A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3226A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226A3
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226A3#FFFFFF#000000##FFFFFF
##3226A31.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3226a3;
/* rgb */ color: rgb(50, 38, 163);
/* oklch */ color: oklch(38.0% 0.189 276.8);
Tailwind
colors: {
  custom: {
    50: '#7b63bf',
    500: '#3226a3',
    950: '#000000',
  },
}
SCSS
$custom: #3226a3;
$custom-light: #7b63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3226a3",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 245.76,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.18892,
    "h": 276.8
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#3226A3
secondary
#B9C263
accent
#E543D6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3226A3

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

Preview Lab → · Contrast checker → · Palette generator →

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