#3A25A7#3A25A7

#3A25A7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.193 H 279.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3A25A7
RGBrgb(58, 37, 167)
HSLhsl(250, 64%, 40%)
HSVhsv(250, 78%, 65%)
CMYKcmyk(65.3%, 77.8%, 0%, 34.5%)
CIE-LABlab(26.77, 46.71, -65.86)
CIE-LCHlch(26.77, 80.74, 305.34°)
OKLaboklab(38.94% 0.0332 -0.1901)
OKLCHoklch(38.94% 0.193 279.9)
XYZxyz(9.3793, 5.0120, 37.0249)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25A7 #92A725
analogous
#2551A7 #3A25A7 #7B25A7
triadic
#3A25A7 #A73A25 #25A73A
tetradic
#3A25A7 #A72551 #92A725 #25A77B
square
#3A25A7 #A72551 #92A725 #25A77B
split-complementary
#3A25A7 #A77B25 #51A725
monochromatic
#170F43 #291A75 #3A25A7 #5037D3 #7C69DE

Accessibility & contrast

On white

10.49
#3A25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3A25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25A7
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25A7#FFFFFF#000000##FFFFFF
##3A25A71.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a25a7;
/* rgb */ color: rgb(58, 37, 167);
/* oklch */ color: oklch(38.9% 0.193 279.9);
Tailwind
colors: {
  custom: {
    50: '#7f63c2',
    500: '#3a25a7',
    950: '#000000',
  },
}
SCSS
$custom: #3a25a7;
$custom-light: #7f63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25a7",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 249.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.19299,
    "h": 279.9
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#3A25A7
secondary
#B4C464
accent
#E741CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3A25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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