#3E52D7#3E52D7

#3E52D7 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.7% C 0.203 H 270.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3E52D7
RGBrgb(62, 82, 215)
HSLhsl(232, 66%, 54%)
HSVhsv(232, 71%, 84%)
CMYKcmyk(71.2%, 61.9%, 0%, 15.7%)
CIE-LABlab(41.16, 36.80, -70.44)
CIE-LCHlch(41.16, 79.47, 297.59°)
OKLaboklab(50.73% 0.0023 -0.2034)
OKLCHoklch(50.73% 0.203 270.6)
XYZxyz(17.2655, 11.9633, 65.6760)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52D7 #D7C33E
analogous
#3E9FD7 #3E52D7 #773ED7
triadic
#3E52D7 #D73E52 #52D73E
tetradic
#3E52D7 #D73E9F #D7C33E #3ED777
square
#3E52D7 #D73E9F #D7C33E #3ED777
split-complementary
#3E52D7 #D7773E #9FD73E
monochromatic
#1B2880 #2538B3 #3E52D7 #717FE2 #A3ADEC

Accessibility & contrast

On white

6.19
#3E52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3E52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52D7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52D7#FFFFFF#000000##FFFFFF
##3E52D71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e52d7;
/* rgb */ color: rgb(62, 82, 215);
/* oklch */ color: oklch(50.7% 0.203 270.6);
Tailwind
colors: {
  custom: {
    50: '#8782e4',
    500: '#3e52d7',
    950: '#000000',
  },
}
SCSS
$custom: #3e52d7;
$custom-light: #8782e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52d7",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 232.157,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.20342,
    "h": 270.6
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#3E52D7
secondary
#D9D098
accent
#D23FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3E52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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