#3A3BD5#3A3BD5

#3A3BD5 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.227 H 273.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3A3BD5
RGBrgb(58, 59, 213)
HSLhsl(240, 65%, 53%)
HSVhsv(240, 73%, 84%)
CMYKcmyk(72.8%, 72.3%, 0%, 16.5%)
CIE-LABlab(35.65, 49.43, -78.33)
CIE-LCHlch(35.65, 92.62, 302.25°)
OKLaboklab(46.62% 0.0118 -0.2266)
OKLCHoklch(46.62% 0.227 273)
XYZxyz(15.3151, 8.8300, 63.8351)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BD5 #D5D43A
analogous
#3A88D5 #3A3BD5 #863AD5
triadic
#3A3BD5 #D53A3B #3BD53A
tetradic
#3A3BD5 #D53A88 #D5D43A #3AD586
square
#3A3BD5 #D53A88 #D5D43A #3AD586
split-complementary
#3A3BD5 #D5863A #88D53A
monochromatic
#1A1B7A #2526AD #3A3BD5 #6C6DE0 #9F9FEB

Accessibility & contrast

On white

7.59
#3A3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A3BD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BD5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BD5#FFFFFF#000000##FFFFFF
##3A3BD51.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3bd5;
/* rgb */ color: rgb(58, 59, 213);
/* oklch */ color: oklch(46.6% 0.227 273.0);
Tailwind
colors: {
  custom: {
    50: '#8773e3',
    500: '#3a3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bd5;
$custom-light: #8773e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bd5",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 239.613,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.22694,
    "h": 273
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#3A3BD5
secondary
#D7D694
accent
#E740E8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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