#3F52D4#3F52D4

#3F52D4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.199 H 271.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3F52D4
RGBrgb(63, 82, 212)
HSLhsl(232, 63%, 54%)
HSVhsv(232, 70%, 83%)
CMYKcmyk(70.3%, 61.3%, 0%, 16.9%)
CIE-LABlab(40.97, 35.88, -69.03)
CIE-LCHlch(40.97, 77.79, 297.46°)
OKLaboklab(50.52% 0.0033 -0.1992)
OKLCHoklch(50.52% 0.199 271)
XYZxyz(16.9468, 11.8431, 63.6674)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52D4 #D4C13F
analogous
#3F9DD4 #3F52D4 #773FD4
triadic
#3F52D4 #D43F52 #52D43F
tetradic
#3F52D4 #D43F9D #D4C13F #3FD477
square
#3F52D4 #D43F9D #D4C13F #3FD477
split-complementary
#3F52D4 #D4773F #9DD43F
monochromatic
#1C287D #2738AF #3F52D4 #717FDF #A3ACEA

Accessibility & contrast

On white

6.23
#3F52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F52D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52D4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52D4#FFFFFF#000000##FFFFFF
##3F52D41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f52d4;
/* rgb */ color: rgb(63, 82, 212);
/* oklch */ color: oklch(50.5% 0.199 271.0);
Tailwind
colors: {
  custom: {
    50: '#8782e2',
    500: '#3f52d4',
    950: '#000000',
  },
}
SCSS
$custom: #3f52d4;
$custom-light: #8782e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52d4",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 232.349,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.19928,
    "h": 271
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#3F52D4
secondary
#D7CF98
accent
#D141E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #3F52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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