#3E27E2#3E27E2

#3E27E2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.9% C 0.257 H 274.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3E27E2
RGBrgb(62, 39, 226)
HSLhsl(247, 76%, 52%)
HSVhsv(247, 83%, 89%)
CMYKcmyk(72.6%, 82.7%, 0%, 11.4%)
CIE-LABlab(33.91, 63.43, -88.68)
CIE-LCHlch(33.91, 109.03, 305.58°)
OKLaboklab(45.87% 0.0214 -0.2564)
OKLCHoklch(45.87% 0.257 274.8)
XYZxyz(16.4351, 7.9645, 72.6079)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27E2 #CBE227
analogous
#276DE2 #3E27E2 #9C27E2
triadic
#3E27E2 #E23E27 #27E23E
tetradic
#3E27E2 #E2276D #CBE227 #27E29C
square
#3E27E2 #E2276D #CBE227 #27E29C
split-complementary
#3E27E2 #E29C27 #6DE227
monochromatic
#1E117E #2B18B4 #3E27E2 #6E5DE9 #9E93F0

Accessibility & contrast

On white

8.10
#3E27E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3E27E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27E2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27E2#FFFFFF#000000##FFFFFF
##3E27E21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006488
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e27e2;
/* rgb */ color: rgb(62, 39, 226);
/* oklch */ color: oklch(45.9% 0.257 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d68ed',
    500: '#3e27e2',
    950: '#000000',
  },
}
SCSS
$custom: #3e27e2;
$custom-light: #8d68ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27e2",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 226
  },
  "hsl": {
    "h": 247.38,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.25726,
    "h": 274.8
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#3E27E2
secondary
#D1DB89
accent
#F335DC
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3E27E2

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

Preview Lab → · Contrast checker → · Palette generator →

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