#3F52E2#3F52E2

#3F52E2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.217 H 270.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3F52E2
RGBrgb(63, 82, 226)
HSLhsl(233, 74%, 57%)
HSVhsv(233, 72%, 89%)
CMYKcmyk(72.1%, 63.7%, 0%, 11.4%)
CIE-LABlab(42.12, 40.74, -75.13)
CIE-LCHlch(42.12, 85.46, 298.47°)
OKLaboklab(51.73% 0.0028 -0.2171)
OKLCHoklch(51.73% 0.217 270.7)
XYZxyz(18.7900, 12.5804, 73.3748)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52E2 #E2CF3F
analogous
#3FA4E2 #3F52E2 #7E3FE2
triadic
#3F52E2 #E23F52 #52E23F
tetradic
#3F52E2 #E23FA4 #E2CF3F #3FE27E
square
#3F52E2 #E23FA4 #E2CF3F #3FE27E
split-complementary
#3F52E2 #E27E3F #A4E23F
monochromatic
#162491 #1E31C6 #3F52E2 #7482EA #A9B2F2

Accessibility & contrast

On white

5.97
#3F52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3F52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52E2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52E2#FFFFFF#000000##FFFFFF
##3F52E21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f52e2;
/* rgb */ color: rgb(63, 82, 226);
/* oklch */ color: oklch(51.7% 0.217 270.7);
Tailwind
colors: {
  custom: {
    50: '#8a82ec',
    500: '#3f52e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f52e2;
$custom-light: #8a82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52e2",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 233.006,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.21717,
    "h": 270.7
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#3F52E2
secondary
#E0D89D
accent
#DB37F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #3F52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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