#3E3FC2#3E3FC2

#3E3FC2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.198 H 274.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3E3FC2
RGBrgb(62, 63, 194)
HSLhsl(240, 52%, 50%)
HSVhsv(240, 68%, 76%)
CMYKcmyk(68%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.95, 41.26, -68.44)
CIE-LCHlch(34.95, 79.91, 301.08°)
OKLaboklab(45.64% 0.0168 -0.1977)
OKLCHoklch(45.64% 0.198 274.9)
XYZxyz(13.4985, 8.4730, 51.9526)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FC2 #C2C13E
analogous
#3E81C2 #3E3FC2 #7F3EC2
triadic
#3E3FC2 #C23E3F #3FC23E
tetradic
#3E3FC2 #C23E81 #C2C13E #3EC27F
square
#3E3FC2 #C23E81 #C2C13E #3EC27F
split-complementary
#3E3FC2 #C27F3E #81C23E
monochromatic
#202166 #2F3094 #3E3FC2 #6D6DD1 #9B9CDF

Accessibility & contrast

On white

7.79
#3E3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3E3FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FC2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FC2#FFFFFF#000000##FFFFFF
##3E3FC21.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e3fc2;
/* rgb */ color: rgb(62, 63, 194);
/* oklch */ color: oklch(45.6% 0.198 274.9);
Tailwind
colors: {
  custom: {
    50: '#8475d6',
    500: '#3e3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fc2;
$custom-light: #8475d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fc2",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 239.545,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45635,
    "c": 0.19838,
    "h": 274.9
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#3E3FC2
secondary
#CBCB90
accent
#DA4CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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