#3A25A5#3A25A5

#3A25A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.191 H 280.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3A25A5
RGBrgb(58, 37, 165)
HSLhsl(250, 63%, 40%)
HSVhsv(250, 78%, 65%)
CMYKcmyk(64.8%, 77.6%, 0%, 35.3%)
CIE-LABlab(26.56, 46.09, -64.99)
CIE-LCHlch(26.56, 79.68, 305.34°)
OKLaboklab(38.73% 0.0337 -0.1876)
OKLCHoklch(38.73% 0.191 280.2)
XYZxyz(9.1959, 4.9386, 36.0587)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25A5 #90A525
analogous
#2550A5 #3A25A5 #7A25A5
triadic
#3A25A5 #A53A25 #25A53A
tetradic
#3A25A5 #A52550 #90A525 #25A57A
square
#3A25A5 #A52550 #90A525 #25A57A
split-complementary
#3A25A5 #A57A25 #50A525
monochromatic
#170F41 #281A73 #3A25A5 #4F35D2 #7B67DD

Accessibility & contrast

On white

10.56
#3A25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A25A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25A5
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25A5#FFFFFF#000000##FFFFFF
##3A25A51.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a25a5;
/* rgb */ color: rgb(58, 37, 165);
/* oklch */ color: oklch(38.7% 0.191 280.2);
Tailwind
colors: {
  custom: {
    50: '#7f63c1',
    500: '#3a25a5',
    950: '#000000',
  },
}
SCSS
$custom: #3a25a5;
$custom-light: #7f63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25a5",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 249.844,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.1906,
    "h": 280.2
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#3A25A5
secondary
#B3C363
accent
#E641CB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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