#3E52BF#3E52BF

#3E52BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.172 H 270.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3E52BF
RGBrgb(62, 82, 191)
HSLhsl(231, 51%, 50%)
HSVhsv(231, 68%, 75%)
CMYKcmyk(67.5%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.27, 28.33, -59.62)
CIE-LCHlch(39.27, 66.01, 295.41°)
OKLaboklab(48.74% 0.0024 -0.1717)
OKLCHoklch(48.74% 0.172 270.8)
XYZxyz(14.4047, 10.8190, 50.6093)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52BF #BFAB3E
analogous
#3E92BF #3E52BF #6B3EBF
triadic
#3E52BF #BF3E52 #52BF3E
tetradic
#3E52BF #BF3E92 #BFAB3E #3EBF6B
square
#3E52BF #BF3E92 #BFAB3E #3EBF6B
split-complementary
#3E52BF #BF6B3E #92BF3E
monochromatic
#202A63 #2F3E91 #3E52BF #6B7BCF #99A4DE

Accessibility & contrast

On white

6.64
#3E52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3E52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52BF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52BF#FFFFFF#000000##FFFFFF
##3E52BF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e52bf;
/* rgb */ color: rgb(62, 82, 191);
/* oklch */ color: oklch(48.7% 0.172 270.8);
Tailwind
colors: {
  custom: {
    50: '#8282d3',
    500: '#3e52bf',
    950: '#000000',
  },
}
SCSS
$custom: #3e52bf;
$custom-light: #8282d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52bf",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 230.698,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.17168,
    "h": 270.8
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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