#3A2ED5#3A2ED5

#3A2ED5 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.9% C 0.239 H 274.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3A2ED5
RGBrgb(58, 46, 213)
HSLhsl(244, 67%, 51%)
HSVhsv(244, 78%, 84%)
CMYKcmyk(72.8%, 78.4%, 0%, 16.5%)
CIE-LABlab(33.26, 56.25, -82.29)
CIE-LCHlch(33.26, 99.68, 304.35°)
OKLaboklab(44.93% 0.0174 -0.238)
OKLCHoklch(44.93% 0.239 274.2)
XYZxyz(14.7282, 7.6561, 63.6395)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ED5 #C9D52E
analogous
#2E76D5 #3A2ED5 #8D2ED5
triadic
#3A2ED5 #D53A2E #2ED53A
tetradic
#3A2ED5 #D52E76 #C9D52E #2ED58D
square
#3A2ED5 #D52E76 #C9D52E #2ED58D
split-complementary
#3A2ED5 #D58D2E #76D52E
monochromatic
#1D1772 #2B21A5 #3A2ED5 #6A61DF #9A94E9

Accessibility & contrast

On white

8.30
#3A2ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A2ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ED5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ED5#FFFFFF#000000##FFFFFF
##3A2ED51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DA
Deuteranopia (green-blind)
#0046D2
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a2ed5;
/* rgb */ color: rgb(58, 46, 213);
/* oklch */ color: oklch(44.9% 0.239 274.2);
Tailwind
colors: {
  custom: {
    50: '#886be3',
    500: '#3a2ed5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ed5;
$custom-light: #886be3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ed5",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 213
  },
  "hsl": {
    "h": 244.311,
    "s": 66.534,
    "l": 50.784
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.23867,
    "h": 274.2
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#3A2ED5
secondary
#CFD48A
accent
#E93EDD
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3A2ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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