#3225A2#3225A2

#3225A2 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.189 H 277.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#3225A2
RGBrgb(50, 37, 162)
HSLhsl(246, 63%, 39%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(69.1%, 77.2%, 0%, 36.5%)
CIE-LABlab(25.59, 44.29, -64.79)
CIE-LCHlch(25.59, 78.49, 304.36°)
OKLaboklab(37.79% 0.0231 -0.1872)
OKLCHoklch(37.79% 0.189 277)
XYZxyz(8.4964, 4.6091, 34.6173)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3225A2 #95A225
analogous
#2557A2 #3225A2 #7125A2
triadic
#3225A2 #A23225 #25A232
tetradic
#3225A2 #A22557 #95A225 #25A271
square
#3225A2 #A22557 #95A225 #25A271
split-complementary
#3225A2 #A27125 #57A225
monochromatic
#130E3E #231A70 #3225A2 #4434D1 #7265DC

Accessibility & contrast

On white

10.93
#3225A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3225A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3225A2
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3225A2#FFFFFF#000000##FFFFFF
##3225A21.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0037A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3225a2;
/* rgb */ color: rgb(50, 37, 162);
/* oklch */ color: oklch(37.8% 0.189 277.0);
Tailwind
colors: {
  custom: {
    50: '#7b62bf',
    500: '#3225a2',
    950: '#000000',
  },
}
SCSS
$custom: #3225a2;
$custom-light: #7b62bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3225a2",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 246.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37791,
    "c": 0.18866,
    "h": 277
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#3225A2
secondary
#B8C261
accent
#E642D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3225A2

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

Preview Lab → · Contrast checker → · Palette generator →

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