#3A3CD6#3A3CD6

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

Color values

HEX#3A3CD6
RGBrgb(58, 60, 214)
HSLhsl(239, 66%, 53%)
HSVhsv(239, 73%, 84%)
CMYKcmyk(72.9%, 72%, 0%, 16.1%)
CIE-LABlab(35.95, 49.19, -78.41)
CIE-LCHlch(35.95, 92.57, 302.10°)
OKLaboklab(46.86% 0.0111 -0.2269)
OKLCHoklch(46.86% 0.227 272.8)
XYZxyz(15.4943, 8.9847, 64.5229)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CD6 #D6D43A
analogous
#3A8AD6 #3A3CD6 #863AD6
triadic
#3A3CD6 #D63A3C #3CD63A
tetradic
#3A3CD6 #D63A8A #D6D43A #3AD686
square
#3A3CD6 #D63A8A #D6D43A #3AD686
split-complementary
#3A3CD6 #D6863A #8AD63A
monochromatic
#1A1B7C #2426AE #3A3CD6 #6D6EE1 #9FA0EB

Accessibility & contrast

On white

7.51
#3A3CD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3CD6
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CD6#FFFFFF#000000##FFFFFF
##3A3CD61.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDB
Deuteranopia (green-blind)
#004DD3
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a3cd6;
/* rgb */ color: rgb(58, 60, 214);
/* oklch */ color: oklch(46.9% 0.227 272.8);
Tailwind
colors: {
  custom: {
    50: '#8773e4',
    500: '#3a3cd6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cd6;
$custom-light: #8773e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cd6",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 214
  },
  "hsl": {
    "h": 239.231,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.22714,
    "h": 272.8
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#3A3CD6
secondary
#D7D794
accent
#E63FE8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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