#3A25AF#3A25AF

#3A25AF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.202 H 278.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3A25AF
RGBrgb(58, 37, 175)
HSLhsl(249, 65%, 42%)
HSVhsv(249, 79%, 69%)
CMYKcmyk(66.9%, 78.9%, 0%, 31.4%)
CIE-LABlab(27.62, 49.14, -69.27)
CIE-LCHlch(27.62, 84.93, 305.35°)
OKLaboklab(39.79% 0.031 -0.2)
OKLCHoklch(39.79% 0.202 278.8)
XYZxyz(10.1419, 5.3170, 41.0409)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A25AF #9AAF25
analogous
#2555AF #3A25AF #7F25AF
triadic
#3A25AF #AF3A25 #25AF3A
tetradic
#3A25AF #AF2555 #9AAF25 #25AF7F
square
#3A25AF #AF2555 #9AAF25 #25AF7F
split-complementary
#3A25AF #AF7F25 #55AF25
monochromatic
#19104A #291A7C #3A25AF #533CD6 #7F6EE0

Accessibility & contrast

On white

10.18
#3A25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A25AF
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A25AF#FFFFFF#000000##FFFFFF
##3A25AF1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a25af;
/* rgb */ color: rgb(58, 37, 175);
/* oklch */ color: oklch(39.8% 0.202 278.8);
Tailwind
colors: {
  custom: {
    50: '#8164c8',
    500: '#3a25af',
    950: '#000000',
  },
}
SCSS
$custom: #3a25af;
$custom-light: #8164c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a25af",
  "rgb": {
    "r": 58,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 249.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.20244,
    "h": 278.8
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#3A25AF
secondary
#B9C769
accent
#E840CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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