#3A3FD2#3A3FD2

#3A3FD2 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.9% C 0.219 H 272.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3A3FD2
RGBrgb(58, 63, 210)
HSLhsl(238, 63%, 53%)
HSVhsv(238, 72%, 82%)
CMYKcmyk(72.4%, 70%, 0%, 17.6%)
CIE-LABlab(36.19, 46.16, -75.72)
CIE-LCHlch(36.19, 88.68, 301.37°)
OKLaboklab(46.91% 0.0102 -0.219)
OKLCHoklch(46.91% 0.219 272.7)
XYZxyz(15.1514, 9.1062, 61.9194)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FD2 #D2CD3A
analogous
#3A8BD2 #3A3FD2 #813AD2
triadic
#3A3FD2 #D23A3F #3FD23A
tetradic
#3A3FD2 #D23A8B #D2CD3A #3AD281
square
#3A3FD2 #D23A8B #D2CD3A #3AD281
split-complementary
#3A3FD2 #D2813A #8BD23A
monochromatic
#1B1E77 #262BA8 #3A3FD2 #6C70DD #9EA0E9

Accessibility & contrast

On white

7.44
#3A3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A3FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FD2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FD2#FFFFFF#000000##FFFFFF
##3A3FD21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD6
Deuteranopia (green-blind)
#004ECF
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a3fd2;
/* rgb */ color: rgb(58, 63, 210);
/* oklch */ color: oklch(46.9% 0.219 272.7);
Tailwind
colors: {
  custom: {
    50: '#8675e1',
    500: '#3a3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fd2;
$custom-light: #8675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fd2",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 238.026,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.21927,
    "h": 272.7
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#3A3FD2
secondary
#D5D393
accent
#E042E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #3A3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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