#3A25BA#3A25BA

#3A25BA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.215 H 277.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3A25BA
RGBrgb(58, 37, 186)
HSLhsl(248, 67%, 44%)
HSVhsv(248, 80%, 73%)
CMYKcmyk(68.8%, 80.1%, 0%, 27.1%)
CIE-LABlab(28.82, 52.44, -73.84)
CIE-LCHlch(28.82, 90.57, 305.38°)
OKLaboklab(40.97% 0.0279 -0.2134)
OKLCHoklch(40.97% 0.215 277.5)
XYZxyz(11.2665, 5.7668, 46.9642)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25BA #A5BA25
analogous
#255ABA #3A25BA #8425BA
triadic
#3A25BA #BA3A25 #25BA3A
tetradic
#3A25BA #BA255A #A5BA25 #25BA84
square
#3A25BA #BA255A #A5BA25 #25BA84
split-complementary
#3A25BA #BA8425 #5ABA25
monochromatic
#1A1154 #2A1B87 #3A25BA #5843DA #8576E4

Accessibility & contrast

On white

9.75
#3A25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25BA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25BA#FFFFFF#000000##FFFFFF
##3A25BA1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a25ba;
/* rgb */ color: rgb(58, 37, 186);
/* oklch */ color: oklch(41.0% 0.215 277.5);
Tailwind
colors: {
  custom: {
    50: '#8364d0',
    500: '#3a25ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a25ba;
$custom-light: #8364d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25ba",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 248.456,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.21518,
    "h": 277.5
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#3A25BA
secondary
#BECB70
accent
#EA3ED2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A25BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3A25BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva