#3F52C6#3F52C6

#3F52C6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.181 H 271.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3F52C6
RGBrgb(63, 82, 198)
HSLhsl(232, 54%, 51%)
HSVhsv(232, 68%, 78%)
CMYKcmyk(68.2%, 58.6%, 0%, 22.4%)
CIE-LABlab(39.86, 30.96, -62.74)
CIE-LCHlch(39.86, 69.97, 296.26°)
OKLaboklab(49.36% 0.0035 -0.1808)
OKLCHoklch(49.36% 0.181 271.1)
XYZxyz(15.2568, 11.1671, 54.7666)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52C6 #C6B33F
analogous
#3F95C6 #3F52C6 #6F3FC6
triadic
#3F52C6 #C63F52 #52C63F
tetradic
#3F52C6 #C63F95 #C6B33F #3FC66F
square
#3F52C6 #C63F95 #C6B33F #3FC66F
split-complementary
#3F52C6 #C66F3F #95C63F
monochromatic
#202A6B #2E3D9A #3F52C6 #6E7DD4 #9DA7E2

Accessibility & contrast

On white

6.49
#3F52C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3F52C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52C6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52C6#FFFFFF#000000##FFFFFF
##3F52C61.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f52c6;
/* rgb */ color: rgb(63, 82, 198);
/* oklch */ color: oklch(49.4% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#8482d8',
    500: '#3f52c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f52c6;
$custom-light: #8482d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52c6",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 231.556,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.18084,
    "h": 271.1
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#3F52C6
secondary
#CEC693
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F52C6

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

Preview Lab → · Contrast checker → · Palette generator →

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