#3E52C0#3E52C0

#3E52C0 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.173 H 270.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3E52C0
RGBrgb(62, 82, 192)
HSLhsl(231, 51%, 50%)
HSVhsv(231, 68%, 75%)
CMYKcmyk(67.7%, 57.3%, 0%, 24.7%)
CIE-LABlab(39.35, 28.68, -60.09)
CIE-LCHlch(39.35, 66.58, 295.52°)
OKLaboklab(48.82% 0.0024 -0.173)
OKLCHoklch(48.82% 0.173 270.8)
XYZxyz(14.5151, 10.8631, 51.1908)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52C0 #C0AC3E
analogous
#3E93C0 #3E52C0 #6B3EC0
triadic
#3E52C0 #C03E52 #52C03E
tetradic
#3E52C0 #C03E93 #C0AC3E #3EC06B
square
#3E52C0 #C03E93 #C0AC3E #3EC06B
split-complementary
#3E52C0 #C06B3E #93C03E
monochromatic
#202A63 #2F3E92 #3E52C0 #6C7BCF #9AA5DE

Accessibility & contrast

On white

6.62
#3E52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3E52C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52C0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52C0#FFFFFF#000000##FFFFFF
##3E52C01.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e52c0;
/* rgb */ color: rgb(62, 82, 192);
/* oklch */ color: oklch(48.8% 0.173 270.8);
Tailwind
colors: {
  custom: {
    50: '#8382d4',
    500: '#3e52c0',
    950: '#000000',
  },
}
SCSS
$custom: #3e52c0;
$custom-light: #8382d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52c0",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 230.769,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.17304,
    "h": 270.8
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#3E52C0
secondary
#CAC18F
accent
#C54DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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