#3225A4#3225A4

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

Color values

HEX#3225A4
RGBrgb(50, 37, 164)
HSLhsl(246, 63%, 39%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(69.5%, 77.4%, 0%, 35.7%)
CIE-LABlab(25.81, 44.93, -65.65)
CIE-LCHlch(25.81, 79.56, 304.39°)
OKLaboklab(38.01% 0.0226 -0.1897)
OKLCHoklch(38.01% 0.191 276.8)
XYZxyz(8.6756, 4.6808, 35.5610)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3225A4 #97A425
analogous
#2557A4 #3225A4 #7225A4
triadic
#3225A4 #A43225 #25A432
tetradic
#3225A4 #A42557 #97A425 #25A472
square
#3225A4 #A42557 #97A425 #25A472
split-complementary
#3225A4 #A47225 #57A425
monochromatic
#140E40 #231A72 #3225A4 #4535D1 #7367DD

Accessibility & contrast

On white

10.84
#3225A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3225A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3225A4
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3225A4#FFFFFF#000000##FFFFFF
##3225A41.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3225a4;
/* rgb */ color: rgb(50, 37, 164);
/* oklch */ color: oklch(38.0% 0.191 276.8);
Tailwind
colors: {
  custom: {
    50: '#7b62c0',
    500: '#3225a4',
    950: '#000000',
  },
}
SCSS
$custom: #3225a4;
$custom-light: #7b62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3225a4",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 246.142,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38006,
    "c": 0.19108,
    "h": 276.8
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#3225A4
secondary
#B9C262
accent
#E642D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3225A4

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

Preview Lab → · Contrast checker → · Palette generator →

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