#3A3BD3#3A3BD3

#3A3BD3 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.225 H 273.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3A3BD3
RGBrgb(58, 59, 211)
HSLhsl(240, 63%, 53%)
HSVhsv(240, 73%, 83%)
CMYKcmyk(72.5%, 72%, 0%, 17.3%)
CIE-LABlab(35.46, 48.78, -77.50)
CIE-LCHlch(35.46, 91.57, 302.19°)
OKLaboklab(46.42% 0.0121 -0.2242)
OKLCHoklch(46.42% 0.225 273.1)
XYZxyz(15.0628, 8.7291, 62.5064)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BD3 #D3D23A
analogous
#3A87D3 #3A3BD3 #863AD3
triadic
#3A3BD3 #D33A3B #3BD33A
tetradic
#3A3BD3 #D33A87 #D3D23A #3AD386
square
#3A3BD3 #D33A87 #D3D23A #3AD386
split-complementary
#3A3BD3 #D3863A #87D33A
monochromatic
#1B1B78 #2627AA #3A3BD3 #6C6DDE #9E9FE9

Accessibility & contrast

On white

7.65
#3A3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3A3BD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BD3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BD3#FFFFFF#000000##FFFFFF
##3A3BD31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#004CD0
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3bd3;
/* rgb */ color: rgb(58, 59, 211);
/* oklch */ color: oklch(46.4% 0.225 273.1);
Tailwind
colors: {
  custom: {
    50: '#8772e2',
    500: '#3a3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bd3;
$custom-light: #8772e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bd3",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 239.608,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.22455,
    "h": 273.1
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#3A3BD3
secondary
#D6D593
accent
#E541E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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