#3E52B3#3E52B3

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

Color values

HEX#3E52B3
RGBrgb(62, 82, 179)
HSLhsl(230, 49%, 47%)
HSVhsv(230, 65%, 70%)
CMYKcmyk(65.4%, 54.2%, 0%, 29.8%)
CIE-LABlab(38.40, 24.05, -54.01)
CIE-LCHlch(38.40, 59.12, 294.01°)
OKLaboklab(47.81% 0.0018 -0.1551)
OKLCHoklch(47.81% 0.155 270.7)
XYZxyz(13.1378, 10.3122, 43.9372)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52B3 #B39F3E
analogous
#3E8CB3 #3E52B3 #653EB3
triadic
#3E52B3 #B33E52 #52B33E
tetradic
#3E52B3 #B33E8C #B39F3E #3EB365
square
#3E52B3 #B33E8C #B39F3E #3EB365
split-complementary
#3E52B3 #B3653E #8CB33E
monochromatic
#1F2858 #2E3D86 #3E52B3 #6576CA #929ED9

Accessibility & contrast

On white

6.86
#3E52B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3E52B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52B3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52B3#FFFFFF#000000##FFFFFF
##3E52B31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e52b3;
/* rgb */ color: rgb(62, 82, 179);
/* oklch */ color: oklch(47.8% 0.155 270.7);
Tailwind
colors: {
  custom: {
    50: '#8082ca',
    500: '#3e52b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e52b3;
$custom-light: #8082ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52b3",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 229.744,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.15514,
    "h": 270.7
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#3E52B3
secondary
#C5BA88
accent
#C150D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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