#3E52C5#3E52C5

#3E52C5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.180 H 270.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3E52C5
RGBrgb(62, 82, 197)
HSLhsl(231, 54%, 51%)
HSVhsv(231, 69%, 77%)
CMYKcmyk(68.5%, 58.4%, 0%, 22.7%)
CIE-LABlab(39.73, 30.46, -62.38)
CIE-LCHlch(39.73, 69.42, 296.03°)
OKLaboklab(49.22% 0.0025 -0.1798)
OKLCHoklch(49.22% 0.18 270.8)
XYZxyz(15.0785, 11.0885, 54.1581)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52C5 #C5B13E
analogous
#3E95C5 #3E52C5 #6D3EC5
triadic
#3E52C5 #C53E52 #52C53E
tetradic
#3E52C5 #C53E95 #C5B13E #3EC56D
square
#3E52C5 #C53E95 #C5B13E #3EC56D
split-complementary
#3E52C5 #C56D3E #95C53E
monochromatic
#202A69 #2E3D98 #3E52C5 #6D7CD3 #9CA6E1

Accessibility & contrast

On white

6.53
#3E52C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3E52C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52C5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52C5#FFFFFF#000000##FFFFFF
##3E52C51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3e52c5;
/* rgb */ color: rgb(62, 82, 197);
/* oklch */ color: oklch(49.2% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#8482d7',
    500: '#3e52c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e52c5;
$custom-light: #8482d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52c5",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 231.111,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.17978,
    "h": 270.8
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#3E52C5
secondary
#CDC491
accent
#C74BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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