#3A3DD2#3A3DD2

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

Color values

HEX#3A3DD2
RGBrgb(58, 61, 210)
HSLhsl(239, 63%, 53%)
HSVhsv(239, 72%, 82%)
CMYKcmyk(72.4%, 71%, 0%, 17.6%)
CIE-LABlab(35.77, 47.32, -76.41)
CIE-LCHlch(35.77, 89.87, 301.77°)
OKLaboklab(46.61% 0.0112 -0.221)
OKLCHoklch(46.61% 0.221 272.9)
XYZxyz(15.0426, 8.8886, 61.8832)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DD2 #D2CF3A
analogous
#3A89D2 #3A3DD2 #833AD2
triadic
#3A3DD2 #D23A3D #3DD23A
tetradic
#3A3DD2 #D23A89 #D2CF3A #3AD283
square
#3A3DD2 #D23A89 #D2CF3A #3AD283
split-complementary
#3A3DD2 #D2833A #89D23A
monochromatic
#1B1D77 #2629A8 #3A3DD2 #6C6EDD #9E9FE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3DD2#FFFFFF#000000##FFFFFF
##3A3DD21.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)
#005BD6
Deuteranopia (green-blind)
#004DCF
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a3dd2;
/* rgb */ color: rgb(58, 61, 210);
/* oklch */ color: oklch(46.6% 0.221 272.9);
Tailwind
colors: {
  custom: {
    50: '#8674e1',
    500: '#3a3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dd2;
$custom-light: #8674e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dd2",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 238.816,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.22133,
    "h": 272.9
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#3A3DD2
secondary
#D5D493
accent
#E342E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #3A3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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