#3A3BD6#3A3BD6

#3A3BD6 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.7% C 0.228 H 272.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3A3BD6
RGBrgb(58, 59, 214)
HSLhsl(240, 66%, 53%)
HSVhsv(240, 73%, 84%)
CMYKcmyk(72.9%, 72.4%, 0%, 16.1%)
CIE-LABlab(35.75, 49.75, -78.74)
CIE-LCHlch(35.75, 93.15, 302.29°)
OKLaboklab(46.72% 0.0116 -0.2278)
OKLCHoklch(46.72% 0.228 272.9)
XYZxyz(15.4424, 8.8809, 64.5056)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BD6 #D6D53A
analogous
#3A89D6 #3A3BD6 #873AD6
triadic
#3A3BD6 #D63A3B #3BD63A
tetradic
#3A3BD6 #D63A89 #D6D53A #3AD687
square
#3A3BD6 #D63A89 #D6D53A #3AD687
split-complementary
#3A3BD6 #D6873A #89D63A
monochromatic
#1A1A7C #2425AE #3A3BD6 #6D6DE1 #9FA0EB

Accessibility & contrast

On white

7.56
#3A3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A3BD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BD6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BD6#FFFFFF#000000##FFFFFF
##3A3BD61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDB
Deuteranopia (green-blind)
#004CD3
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a3bd6;
/* rgb */ color: rgb(58, 59, 214);
/* oklch */ color: oklch(46.7% 0.228 272.9);
Tailwind
colors: {
  custom: {
    50: '#8773e4',
    500: '#3a3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bd6;
$custom-light: #8773e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bd6",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 239.615,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.4672,
    "c": 0.22813,
    "h": 272.9
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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