#3A25B1#3A25B1

#3A25B1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.205 H 278.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3A25B1
RGBrgb(58, 37, 177)
HSLhsl(249, 65%, 42%)
HSVhsv(249, 79%, 69%)
CMYKcmyk(67.2%, 79.1%, 0%, 30.6%)
CIE-LABlab(27.83, 49.74, -70.11)
CIE-LCHlch(27.83, 85.96, 305.36°)
OKLaboklab(40% 0.0304 -0.2025)
OKLCHoklch(40% 0.205 278.5)
XYZxyz(10.3397, 5.3961, 42.0831)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25B1 #9CB125
analogous
#2556B1 #3A25B1 #8025B1
triadic
#3A25B1 #B13A25 #25B13A
tetradic
#3A25B1 #B12556 #9CB125 #25B180
square
#3A25B1 #B12556 #9CB125 #25B180
split-complementary
#3A25B1 #B18025 #56B125
monochromatic
#19104C #291A7E #3A25B1 #543DD6 #806FE1

Accessibility & contrast

On white

10.10
#3A25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25B1
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25B1#FFFFFF#000000##FFFFFF
##3A25B11.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a25b1;
/* rgb */ color: rgb(58, 37, 177);
/* oklch */ color: oklch(40.0% 0.205 278.5);
Tailwind
colors: {
  custom: {
    50: '#8164ca',
    500: '#3a25b1',
    950: '#000000',
  },
}
SCSS
$custom: #3a25b1;
$custom-light: #8164ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25b1",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 249,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4,
    "c": 0.20478,
    "h": 278.5
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#3A25B1
secondary
#BAC86A
accent
#E83FCF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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