#3F52C2#3F52C2

#3F52C2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.175 H 271.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3F52C2
RGBrgb(63, 82, 194)
HSLhsl(231, 52%, 50%)
HSVhsv(231, 68%, 76%)
CMYKcmyk(67.5%, 57.7%, 0%, 23.9%)
CIE-LABlab(39.56, 29.54, -60.91)
CIE-LCHlch(39.56, 67.70, 295.87°)
OKLaboklab(49.04% 0.0034 -0.1754)
OKLCHoklch(49.04% 0.175 271.1)
XYZxyz(14.8015, 10.9850, 52.3688)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52C2 #C2AF3F
analogous
#3F93C2 #3F52C2 #6E3FC2
triadic
#3F52C2 #C23F52 #52C23F
tetradic
#3F52C2 #C23F93 #C2AF3F #3FC26E
square
#3F52C2 #C23F93 #C2AF3F #3FC26E
split-complementary
#3F52C2 #C26E3F #93C23F
monochromatic
#202B66 #2F3E95 #3F52C2 #6D7CD1 #9CA6E0

Accessibility & contrast

On white

6.57
#3F52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3F52C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52C2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52C2#FFFFFF#000000##FFFFFF
##3F52C21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f52c2;
/* rgb */ color: rgb(63, 82, 194);
/* oklch */ color: oklch(49.0% 0.175 271.1);
Tailwind
colors: {
  custom: {
    50: '#8382d5',
    500: '#3f52c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f52c2;
$custom-light: #8382d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52c2",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 231.298,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.17546,
    "h": 271.1
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#3F52C2
secondary
#CCC391
accent
#C74DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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