#3F52BC#3F52BC

#3F52BC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.167 H 271.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#3F52BC
RGBrgb(63, 82, 188)
HSLhsl(231, 50%, 49%)
HSVhsv(231, 66%, 74%)
CMYKcmyk(66.5%, 56.4%, 0%, 26.3%)
CIE-LABlab(39.11, 27.42, -58.14)
CIE-LCHlch(39.11, 64.28, 295.25°)
OKLaboklab(48.56% 0.0033 -0.1673)
OKLCHoklch(48.56% 0.167 271.1)
XYZxyz(14.1412, 10.7209, 48.8913)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52BC #BCA93F
analogous
#3F91BC #3F52BC #6B3FBC
triadic
#3F52BC #BC3F52 #52BC3F
tetradic
#3F52BC #BC3F91 #BCA93F #3FBC6B
square
#3F52BC #BC3F91 #BCA93F #3FBC6B
split-complementary
#3F52BC #BC6B3F #91BC3F
monochromatic
#202A60 #303E8E #3F52BC #6B7ACD #99A3DD

Accessibility & contrast

On white

6.68
#3F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3F52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52BC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52BC#FFFFFF#000000##FFFFFF
##3F52BC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f52bc;
/* rgb */ color: rgb(63, 82, 188);
/* oklch */ color: oklch(48.6% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#8282d1',
    500: '#3f52bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f52bc;
$custom-light: #8282d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52bc",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 230.88,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.1673,
    "h": 271.1
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#3F52BC
secondary
#C9C08E
accent
#C44ED9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3F52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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