#3225A5#3225A5

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

Color values

HEX#3225A5
RGBrgb(50, 37, 165)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 78%, 65%)
CMYKcmyk(69.7%, 77.6%, 0%, 35.3%)
CIE-LABlab(25.91, 45.25, -66.08)
CIE-LCHlch(25.91, 80.09, 304.40°)
OKLaboklab(38.11% 0.0224 -0.191)
OKLCHoklch(38.11% 0.192 276.7)
XYZxyz(8.7663, 4.7171, 36.0385)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3225A5 #98A525
analogous
#2558A5 #3225A5 #7225A5
triadic
#3225A5 #A53225 #25A532
tetradic
#3225A5 #A52558 #98A525 #25A572
square
#3225A5 #A52558 #98A525 #25A572
split-complementary
#3225A5 #A57225 #58A525
monochromatic
#140F41 #231A73 #3225A5 #4535D2 #7367DD

Accessibility & contrast

On white

10.80
#3225A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3225A5
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3225A5#FFFFFF#000000##FFFFFF
##3225A51.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3225a5;
/* rgb */ color: rgb(50, 37, 165);
/* oklch */ color: oklch(38.1% 0.192 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b62c1',
    500: '#3225a5',
    950: '#000000',
  },
}
SCSS
$custom: #3225a5;
$custom-light: #7b62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3225a5",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 246.094,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38113,
    "c": 0.19229,
    "h": 276.7
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#3225A5
secondary
#B9C363
accent
#E641D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3225A5

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

Preview Lab → · Contrast checker → · Palette generator →

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