#3A2ED7#3A2ED7

#3A2ED7 is a mid, highly saturated blue. Relative luminance 0.078; OKLCH L 45.1% C 0.241 H 274.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3A2ED7
RGBrgb(58, 46, 215)
HSLhsl(244, 68%, 51%)
HSVhsv(244, 79%, 84%)
CMYKcmyk(73%, 78.6%, 0%, 15.7%)
CIE-LABlab(33.47, 56.85, -83.09)
CIE-LCHlch(33.47, 100.68, 304.38°)
OKLaboklab(45.14% 0.0169 -0.2403)
OKLCHoklch(45.14% 0.241 274)
XYZxyz(14.9836, 7.7583, 64.9846)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ED7 #CBD72E
analogous
#2E76D7 #3A2ED7 #8E2ED7
triadic
#3A2ED7 #D73A2E #2ED73A
tetradic
#3A2ED7 #D72E76 #CBD72E #2ED78E
square
#3A2ED7 #D72E76 #CBD72E #2ED78E
split-complementary
#3A2ED7 #D78E2E #76D72E
monochromatic
#1D1674 #2A20A8 #3A2ED7 #6A61E1 #9B95EB

Accessibility & contrast

On white

8.23
#3A2ED7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A2ED7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ED7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ED7#FFFFFF#000000##FFFFFF
##3A2ED71.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DC
Deuteranopia (green-blind)
#0047D4
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a2ed7;
/* rgb */ color: rgb(58, 46, 215);
/* oklch */ color: oklch(45.1% 0.241 274.0);
Tailwind
colors: {
  custom: {
    50: '#896be5',
    500: '#3a2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ed7;
$custom-light: #896be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ed7",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 244.26,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.24093,
    "h": 274
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#3A2ED7
secondary
#D0D68B
accent
#EB3DDE
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3A2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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