#3F52BF#3F52BF

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

Color values

HEX#3F52BF
RGBrgb(63, 82, 191)
HSLhsl(231, 50%, 50%)
HSVhsv(231, 67%, 75%)
CMYKcmyk(67%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.33, 28.48, -59.53)
CIE-LCHlch(39.33, 65.99, 295.57°)
OKLaboklab(48.8% 0.0034 -0.1714)
OKLCHoklch(48.8% 0.171 271.1)
XYZxyz(14.4680, 10.8516, 50.6122)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52BF #BFAC3F
analogous
#3F92BF #3F52BF #6C3FBF
triadic
#3F52BF #BF3F52 #52BF3F
tetradic
#3F52BF #BF3F92 #BFAC3F #3FBF6C
square
#3F52BF #BF3F92 #BFAC3F #3FBF6C
split-complementary
#3F52BF #BF6C3F #92BF3F
monochromatic
#212A63 #303E91 #3F52BF #6D7BCF #9BA5DE

Accessibility & contrast

On white

6.62
#3F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3F52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52BF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52BF#FFFFFF#000000##FFFFFF
##3F52BF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f52bf;
/* rgb */ color: rgb(63, 82, 191);
/* oklch */ color: oklch(48.8% 0.171 271.1);
Tailwind
colors: {
  custom: {
    50: '#8382d3',
    500: '#3f52bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f52bf;
$custom-light: #8382d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52bf",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 231.094,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.17139,
    "h": 271.1
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#3F52BF
secondary
#CAC190
accent
#C54EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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