#3F52D2#3F52D2

#3F52D2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.197 H 271.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3F52D2
RGBrgb(63, 82, 210)
HSLhsl(232, 62%, 54%)
HSVhsv(232, 70%, 82%)
CMYKcmyk(70%, 61%, 0%, 17.6%)
CIE-LABlab(40.80, 35.18, -68.14)
CIE-LCHlch(40.80, 76.69, 297.31°)
OKLaboklab(50.35% 0.0034 -0.1966)
OKLCHoklch(50.35% 0.197 271)
XYZxyz(16.6961, 11.7428, 62.3470)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52D2 #D2BF3F
analogous
#3F9BD2 #3F52D2 #753FD2
triadic
#3F52D2 #D23F52 #52D23F
tetradic
#3F52D2 #D23F9B #D2BF3F #3FD275
square
#3F52D2 #D23F9B #D2BF3F #3FD275
split-complementary
#3F52D2 #D2753F #9BD23F
monochromatic
#1D297A #2839AC #3F52D2 #717FDE #A2ABE9

Accessibility & contrast

On white

6.27
#3F52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3F52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52D2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52D2#FFFFFF#000000##FFFFFF
##3F52D21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f52d2;
/* rgb */ color: rgb(63, 82, 210);
/* oklch */ color: oklch(50.4% 0.197 271.0);
Tailwind
colors: {
  custom: {
    50: '#8782e1',
    500: '#3f52d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f52d2;
$custom-light: #8782e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52d2",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 232.245,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.19668,
    "h": 271
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#3F52D2
secondary
#D6CE97
accent
#D043E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3F52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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