#3226A4#3226A4

#3226A4 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.190 H 276.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3226A4
RGBrgb(50, 38, 164)
HSLhsl(246, 62%, 40%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(69.5%, 76.8%, 0%, 35.7%)
CIE-LABlab(25.99, 44.40, -65.35)
CIE-LCHlch(25.99, 79.00, 304.19°)
OKLaboklab(38.14% 0.0221 -0.1888)
OKLCHoklch(38.14% 0.19 276.7)
XYZxyz(8.7072, 4.7439, 35.5716)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226A4 #98A426
analogous
#2659A4 #3226A4 #7126A4
triadic
#3226A4 #A43226 #26A432
tetradic
#3226A4 #A42659 #98A426 #26A471
square
#3226A4 #A42659 #98A426 #26A471
split-complementary
#3226A4 #A47126 #59A426
monochromatic
#140F41 #231A72 #3226A4 #4537D1 #7368DC

Accessibility & contrast

On white

10.77
#3226A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3226A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226A4
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226A4#FFFFFF#000000##FFFFFF
##3226A41.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3226a4;
/* rgb */ color: rgb(50, 38, 164);
/* oklch */ color: oklch(38.1% 0.190 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b63c0',
    500: '#3226a4',
    950: '#000000',
  },
}
SCSS
$custom: #3226a4;
$custom-light: #7b63c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3226a4",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 245.714,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.19014,
    "h": 276.7
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#3226A4
secondary
#B9C264
accent
#E542D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3226A4

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

Preview Lab → · Contrast checker → · Palette generator →

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