#3F52C1#3F52C1

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

Color values

HEX#3F52C1
RGBrgb(63, 82, 193)
HSLhsl(231, 51%, 50%)
HSVhsv(231, 67%, 76%)
CMYKcmyk(67.4%, 57.5%, 0%, 24.3%)
CIE-LABlab(39.48, 29.19, -60.45)
CIE-LCHlch(39.48, 67.13, 295.77°)
OKLaboklab(48.96% 0.0034 -0.1741)
OKLCHoklch(48.96% 0.174 271.1)
XYZxyz(14.6896, 10.9402, 51.7793)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52C1 #C1AE3F
analogous
#3F93C1 #3F52C1 #6D3FC1
triadic
#3F52C1 #C13F52 #52C13F
tetradic
#3F52C1 #C13F93 #C1AE3F #3FC16D
square
#3F52C1 #C13F93 #C1AE3F #3FC16D
split-complementary
#3F52C1 #C16D3F #93C13F
monochromatic
#212B65 #303E93 #3F52C1 #6D7CD0 #9CA5DF

Accessibility & contrast

On white

6.59
#3F52C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3F52C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52C1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52C1#FFFFFF#000000##FFFFFF
##3F52C11.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f52c1;
/* rgb */ color: rgb(63, 82, 193);
/* oklch */ color: oklch(49.0% 0.174 271.1);
Tailwind
colors: {
  custom: {
    50: '#8382d5',
    500: '#3f52c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f52c1;
$custom-light: #8382d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52c1",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 231.231,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.17411,
    "h": 271.1
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#3F52C1
secondary
#CBC291
accent
#C64DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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