#3F52CA#3F52CA

#3F52CA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.186 H 271.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3F52CA
RGBrgb(63, 82, 202)
HSLhsl(232, 57%, 52%)
HSVhsv(232, 69%, 79%)
CMYKcmyk(68.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(40.17, 32.37, -64.56)
CIE-LCHlch(40.17, 72.22, 296.63°)
OKLaboklab(49.69% 0.0035 -0.1861)
OKLCHoklch(49.69% 0.186 271.1)
XYZxyz(15.7242, 11.3541, 57.2285)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52CA #CAB73F
analogous
#3F97CA #3F52CA #723FCA
triadic
#3F52CA #CA3F52 #52CA3F
tetradic
#3F52CA #CA3F97 #CAB73F #3FCA72
square
#3F52CA #CA3F97 #CAB73F #3FCA72
split-complementary
#3F52CA #CA723F #97CA3F
monochromatic
#1F2A70 #2C3CA0 #3F52CA #6F7DD7 #9FA8E4

Accessibility & contrast

On white

6.42
#3F52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3F52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52CA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52CA#FFFFFF#000000##FFFFFF
##3F52CA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f52ca;
/* rgb */ color: rgb(63, 82, 202);
/* oklch */ color: oklch(49.7% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#8582db',
    500: '#3f52ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f52ca;
$custom-light: #8582db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52ca",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 231.799,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.18617,
    "h": 271.1
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#3F52CA
secondary
#D1C994
accent
#CB48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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