#3E52B2#3E52B2

#3E52B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.154 H 270.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3E52B2
RGBrgb(62, 82, 178)
HSLhsl(230, 48%, 47%)
HSVhsv(230, 65%, 70%)
CMYKcmyk(65.2%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.33, 23.70, -53.53)
CIE-LCHlch(38.33, 58.54, 293.88°)
OKLaboklab(47.73% 0.0018 -0.1537)
OKLCHoklch(47.73% 0.154 270.7)
XYZxyz(13.0371, 10.2719, 43.4065)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52B2 #B29E3E
analogous
#3E8CB2 #3E52B2 #643EB2
triadic
#3E52B2 #B23E52 #52B23E
tetradic
#3E52B2 #B23E8C #B29E3E #3EB264
square
#3E52B2 #B23E8C #B29E3E #3EB264
split-complementary
#3E52B2 #B2643E #8CB23E
monochromatic
#1E2857 #2E3D85 #3E52B2 #6476C9 #929ED9

Accessibility & contrast

On white

6.87
#3E52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3E52B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52B2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52B2#FFFFFF#000000##FFFFFF
##3E52B21.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e52b2;
/* rgb */ color: rgb(62, 82, 178);
/* oklch */ color: oklch(47.7% 0.154 270.7);
Tailwind
colors: {
  custom: {
    50: '#8082ca',
    500: '#3e52b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e52b2;
$custom-light: #8082ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52b2",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 229.655,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.15374,
    "h": 270.7
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#3E52B2
secondary
#C4BA88
accent
#C050D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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