#3E52D5#3E52D5

#3E52D5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.6% C 0.201 H 270.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3E52D5
RGBrgb(62, 82, 213)
HSLhsl(232, 64%, 54%)
HSVhsv(232, 71%, 84%)
CMYKcmyk(70.9%, 61.5%, 0%, 16.5%)
CIE-LABlab(40.99, 36.10, -69.56)
CIE-LCHlch(40.99, 78.37, 297.43°)
OKLaboklab(50.56% 0.0023 -0.2008)
OKLCHoklch(50.56% 0.201 270.7)
XYZxyz(17.0101, 11.8611, 64.3309)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52D5 #D5C13E
analogous
#3E9ED5 #3E52D5 #763ED5
triadic
#3E52D5 #D53E52 #52D53E
tetradic
#3E52D5 #D53E9E #D5C13E #3ED576
square
#3E52D5 #D53E9E #D5C13E #3ED576
split-complementary
#3E52D5 #D5763E #9ED53E
monochromatic
#1B287D #2638B0 #3E52D5 #707FE0 #A3ACEB

Accessibility & contrast

On white

6.23
#3E52D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3E52D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52D5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52D5#FFFFFF#000000##FFFFFF
##3E52D51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e52d5;
/* rgb */ color: rgb(62, 82, 213);
/* oklch */ color: oklch(50.6% 0.201 270.7);
Tailwind
colors: {
  custom: {
    50: '#8782e3',
    500: '#3e52d5',
    950: '#000000',
  },
}
SCSS
$custom: #3e52d5;
$custom-light: #8782e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52d5",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 232.053,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.20084,
    "h": 270.7
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#3E52D5
secondary
#D8CF97
accent
#D141E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3E52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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