#3E3ACC#3E3ACC

#3E3ACC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.216 H 274.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3E3ACC
RGBrgb(62, 58, 204)
HSLhsl(242, 59%, 51%)
HSVhsv(242, 72%, 80%)
CMYKcmyk(69.6%, 71.6%, 0%, 20%)
CIE-LABlab(34.82, 47.47, -74.49)
CIE-LCHlch(34.82, 88.33, 302.51°)
OKLaboklab(45.83% 0.0185 -0.2153)
OKLCHoklch(45.83% 0.216 274.9)
XYZxyz(14.3951, 8.4085, 57.9794)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3ACC #C8CC3A
analogous
#3A7FCC #3E3ACC #873ACC
triadic
#3E3ACC #CC3E3A #3ACC3E
tetradic
#3E3ACC #CC3A7F #C8CC3A #3ACC87
square
#3E3ACC #CC3A7F #C8CC3A #3ACC87
split-complementary
#3E3ACC #CC873A #7FCC3A
monochromatic
#1F1D6F #2D29A0 #3E3ACC #6E6BD9 #9D9BE5

Accessibility & contrast

On white

7.83
#3E3ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E3ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3ACC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3ACC#FFFFFF#000000##FFFFFF
##3E3ACC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e3acc;
/* rgb */ color: rgb(62, 58, 204);
/* oklch */ color: oklch(45.8% 0.216 274.9);
Tailwind
colors: {
  custom: {
    50: '#8772dd',
    500: '#3e3acc',
    950: '#000000',
  },
}
SCSS
$custom: #3e3acc;
$custom-light: #8772dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3acc",
  "rgb": {
    "r": 62,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 241.644,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.21612,
    "h": 274.9
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#3E3ACC
secondary
#CFD191
accent
#E246DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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