#3F52C0#3F52C0

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

Color values

HEX#3F52C0
RGBrgb(63, 82, 192)
HSLhsl(231, 51%, 50%)
HSVhsv(231, 67%, 75%)
CMYKcmyk(67.2%, 57.3%, 0%, 24.7%)
CIE-LABlab(39.40, 28.83, -59.99)
CIE-LCHlch(39.40, 66.56, 295.67°)
OKLaboklab(48.88% 0.0034 -0.1727)
OKLCHoklch(48.88% 0.173 271.1)
XYZxyz(14.5784, 10.8958, 51.1938)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52C0 #C0AD3F
analogous
#3F92C0 #3F52C0 #6D3FC0
triadic
#3F52C0 #C03F52 #52C03F
tetradic
#3F52C0 #C03F92 #C0AD3F #3FC06D
square
#3F52C0 #C03F92 #C0AD3F #3FC06D
split-complementary
#3F52C0 #C06D3F #92C03F
monochromatic
#212B64 #303E92 #3F52C0 #6D7CCF #9BA5DE

Accessibility & contrast

On white

6.61
#3F52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3F52C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52C0
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52C0#FFFFFF#000000##FFFFFF
##3F52C01.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f52c0;
/* rgb */ color: rgb(63, 82, 192);
/* oklch */ color: oklch(48.9% 0.173 271.1);
Tailwind
colors: {
  custom: {
    50: '#8382d4',
    500: '#3f52c0',
    950: '#000000',
  },
}
SCSS
$custom: #3f52c0;
$custom-light: #8382d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52c0",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 231.163,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.17275,
    "h": 271.1
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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