#3F51CD#3F51CD

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

Color values

HEX#3F51CD
RGBrgb(63, 81, 205)
HSLhsl(232, 59%, 53%)
HSVhsv(232, 69%, 80%)
CMYKcmyk(69.3%, 60.5%, 0%, 19.6%)
CIE-LABlab(40.16, 34.05, -66.31)
CIE-LCHlch(40.16, 74.54, 297.18°)
OKLaboklab(49.75% 0.0042 -0.1913)
OKLCHoklch(49.75% 0.191 271.3)
XYZxyz(16.0080, 11.3478, 59.0925)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51CD #CDBB3F
analogous
#3F98CD #3F51CD #743FCD
triadic
#3F51CD #CD3F51 #51CD3F
tetradic
#3F51CD #CD3F98 #CDBB3F #3FCD74
square
#3F51CD #CD3F98 #CDBB3F #3FCD74
split-complementary
#3F51CD #CD743F #98CD3F
monochromatic
#1E2974 #2B3AA4 #3F51CD #707DDA #A0A9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F51CD#FFFFFF#000000##FFFFFF
##3F51CD1.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)
#0065D1
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f51cd;
/* rgb */ color: rgb(63, 81, 205);
/* oklch */ color: oklch(49.8% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#8681dd',
    500: '#3f51cd',
    950: '#000000',
  },
}
SCSS
$custom: #3f51cd;
$custom-light: #8681dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51cd",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 232.394,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.19134,
    "h": 271.3
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#3F51CD
secondary
#D3CB95
accent
#CE46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3F51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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