#3A25B0#3A25B0

#3A25B0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.204 H 278.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3A25B0
RGBrgb(58, 37, 176)
HSLhsl(249, 65%, 42%)
HSVhsv(249, 79%, 69%)
CMYKcmyk(67%, 79%, 0%, 31%)
CIE-LABlab(27.73, 49.44, -69.69)
CIE-LCHlch(27.73, 85.44, 305.35°)
OKLaboklab(39.89% 0.0307 -0.2013)
OKLCHoklch(39.89% 0.204 278.7)
XYZxyz(10.2404, 5.3564, 41.5601)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25B0 #9BB025
analogous
#2556B0 #3A25B0 #8025B0
triadic
#3A25B0 #B03A25 #25B03A
tetradic
#3A25B0 #B02556 #9BB025 #25B080
square
#3A25B0 #B02556 #9BB025 #25B080
split-complementary
#3A25B0 #B08025 #56B025
monochromatic
#19104B #291A7D #3A25B0 #533CD6 #806FE1

Accessibility & contrast

On white

10.14
#3A25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3A25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25B0
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25B0#FFFFFF#000000##FFFFFF
##3A25B01.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a25b0;
/* rgb */ color: rgb(58, 37, 176);
/* oklch */ color: oklch(39.9% 0.204 278.7);
Tailwind
colors: {
  custom: {
    50: '#8164c9',
    500: '#3a25b0',
    950: '#000000',
  },
}
SCSS
$custom: #3a25b0;
$custom-light: #8164c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25b0",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 249.065,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.2036,
    "h": 278.7
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#3A25B0
secondary
#B9C76A
accent
#E840CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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