#3A3ED2#3A3ED2

#3A3ED2 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.8% C 0.220 H 272.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A3ED2
RGBrgb(58, 62, 210)
HSLhsl(238, 63%, 53%)
HSVhsv(238, 72%, 82%)
CMYKcmyk(72.4%, 70.5%, 0%, 17.6%)
CIE-LABlab(35.98, 46.74, -76.07)
CIE-LCHlch(35.98, 89.28, 301.57°)
OKLaboklab(46.76% 0.0107 -0.22)
OKLCHoklch(46.76% 0.22 272.8)
XYZxyz(15.0965, 8.9964, 61.9011)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ED2 #D2CE3A
analogous
#3A8AD2 #3A3ED2 #823AD2
triadic
#3A3ED2 #D23A3E #3ED23A
tetradic
#3A3ED2 #D23A8A #D2CE3A #3AD282
square
#3A3ED2 #D23A8A #D2CE3A #3AD282
split-complementary
#3A3ED2 #D2823A #8AD23A
monochromatic
#1B1D77 #262AA8 #3A3ED2 #6C6FDD #9EA0E9

Accessibility & contrast

On white

7.50
#3A3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A3ED2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ED2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ED2#FFFFFF#000000##FFFFFF
##3A3ED21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD6
Deuteranopia (green-blind)
#004DCF
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a3ed2;
/* rgb */ color: rgb(58, 62, 210);
/* oklch */ color: oklch(46.8% 0.220 272.8);
Tailwind
colors: {
  custom: {
    50: '#8674e1',
    500: '#3a3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ed2;
$custom-light: #8674e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ed2",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 238.421,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.2203,
    "h": 272.8
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#3A3ED2
secondary
#D5D393
accent
#E242E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #3A3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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