#3A25C6#3A25C6

#3A25C6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.3% C 0.229 H 276.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3A25C6
RGBrgb(58, 37, 198)
HSLhsl(248, 69%, 46%)
HSVhsv(248, 81%, 78%)
CMYKcmyk(70.7%, 81.3%, 0%, 22.4%)
CIE-LABlab(30.15, 55.98, -78.70)
CIE-LCHlch(30.15, 96.58, 305.42°)
OKLaboklab(42.29% 0.0246 -0.2275)
OKLCHoklch(42.29% 0.229 276.2)
XYZxyz(12.5962, 6.2987, 53.9671)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25C6 #B1C625
analogous
#2560C6 #3A25C6 #8A25C6
triadic
#3A25C6 #C63A25 #25C63A
tetradic
#3A25C6 #C62560 #B1C625 #25C68A
square
#3A25C6 #C62560 #B1C625 #25C68A
split-complementary
#3A25C6 #C68A25 #60C625
monochromatic
#1C125F #2B1B92 #3A25C6 #5E4BDD #8C7EE7

Accessibility & contrast

On white

9.29
#3A25C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3A25C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25C6
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25C6#FFFFFF#000000##FFFFFF
##3A25C61.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#0040C3
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a25c6;
/* rgb */ color: rgb(58, 37, 198);
/* oklch */ color: oklch(42.3% 0.229 276.2);
Tailwind
colors: {
  custom: {
    50: '#8665d9',
    500: '#3a25c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a25c6;
$custom-light: #8665d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25c6",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 247.826,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.22879,
    "h": 276.2
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#3A25C6
secondary
#C4CF77
accent
#EB3CD5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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