#3A25AA#3A25AA

#3A25AA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.3% C 0.197 H 279.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3A25AA
RGBrgb(58, 37, 170)
HSLhsl(249, 64%, 41%)
HSVhsv(249, 78%, 67%)
CMYKcmyk(65.9%, 78.2%, 0%, 33.3%)
CIE-LABlab(27.09, 47.62, -67.14)
CIE-LCHlch(27.09, 82.32, 305.35°)
OKLaboklab(39.26% 0.0323 -0.1939)
OKLCHoklch(39.26% 0.197 279.5)
XYZxyz(9.6599, 5.1242, 38.5024)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25AA #95AA25
analogous
#2552AA #3A25AA #7C25AA
triadic
#3A25AA #AA3A25 #25AA3A
tetradic
#3A25AA #AA2552 #95AA25 #25AA7C
square
#3A25AA #AA2552 #95AA25 #25AA7C
split-complementary
#3A25AA #AA7C25 #52AA25
monochromatic
#180F45 #291A78 #3A25AA #5138D4 #7D6BDF

Accessibility & contrast

On white

10.37
#3A25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25AA
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25AA#FFFFFF#000000##FFFFFF
##3A25AA1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a25aa;
/* rgb */ color: rgb(58, 37, 170);
/* oklch */ color: oklch(39.3% 0.197 279.5);
Tailwind
colors: {
  custom: {
    50: '#8063c5',
    500: '#3a25aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a25aa;
$custom-light: #8063c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25aa",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 249.474,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.19655,
    "h": 279.5
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#3A25AA
secondary
#B6C566
accent
#E741CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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