#3F51CC#3F51CC

#3F51CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.190 H 271.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3F51CC
RGBrgb(63, 81, 204)
HSLhsl(232, 58%, 52%)
HSVhsv(232, 69%, 80%)
CMYKcmyk(69.1%, 60.3%, 0%, 20%)
CIE-LABlab(40.08, 33.70, -65.86)
CIE-LCHlch(40.08, 73.98, 297.10°)
OKLaboklab(49.67% 0.0043 -0.19)
OKLCHoklch(49.67% 0.19 271.3)
XYZxyz(15.8877, 11.2997, 58.4588)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51CC #CCBA3F
analogous
#3F98CC #3F51CC #733FCC
triadic
#3F51CC #CC3F51 #51CC3F
tetradic
#3F51CC #CC3F98 #CCBA3F #3FCC73
square
#3F51CC #CC3F98 #CCBA3F #3FCC73
split-complementary
#3F51CC #CC733F #98CC3F
monochromatic
#1E2972 #2B3AA3 #3F51CC #6F7DD9 #A0A9E6

Accessibility & contrast

On white

6.44
#3F51CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3F51CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51CC#FFFFFF#000000##FFFFFF
##3F51CC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f51cc;
/* rgb */ color: rgb(63, 81, 204);
/* oklch */ color: oklch(49.7% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#8581dc',
    500: '#3f51cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f51cc;
$custom-light: #8581dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51cc",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 232.34,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.19002,
    "h": 271.3
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#3F51CC
secondary
#D2CA95
accent
#CE47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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