#3A3ADD#3A3ADD

#3A3ADD is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.3% C 0.237 H 272.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3A3ADD
RGBrgb(58, 58, 221)
HSLhsl(240, 71%, 55%)
HSVhsv(240, 74%, 87%)
CMYKcmyk(73.8%, 73.8%, 0%, 13.3%)
CIE-LABlab(36.26, 52.56, -81.93)
CIE-LCHlch(36.26, 97.34, 302.68°)
OKLaboklab(47.29% 0.0109 -0.2371)
OKLCHoklch(47.29% 0.237 272.6)
XYZxyz(16.3047, 9.1444, 69.2983)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ADD #DDDD3A
analogous
#3A8CDD #3A3ADD #8C3ADD
triadic
#3A3ADD #DD3A3A #3ADD3A
tetradic
#3A3ADD #DD3A8C #DDDD3A #3ADD8C
square
#3A3ADD #DD3A8C #DDDD3A #3ADD8C
split-complementary
#3A3ADD #DD8C3A #8CDD3A
monochromatic
#171786 #2020BA #3A3ADD #6E6EE6 #A2A2EF

Accessibility & contrast

On white

7.42
#3A3ADD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A3ADD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ADD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ADD#FFFFFF#000000##FFFFFF
##3A3ADD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#004DDA
Tritanopia (blue-blind)
#006A89
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a3add;
/* rgb */ color: rgb(58, 58, 221);
/* oklch */ color: oklch(47.3% 0.237 272.6);
Tailwind
colors: {
  custom: {
    50: '#8972e9',
    500: '#3a3add',
    950: '#000000',
  },
}
SCSS
$custom: #3a3add;
$custom-light: #8972e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3add",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 221
  },
  "hsl": {
    "h": 240,
    "s": 70.563,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.23736,
    "h": 272.6
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#3A3ADD
secondary
#DCDC97
accent
#ED3AED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3A3ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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