#3F50BA#3F50BA

#3F50BA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.167 H 271.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3F50BA
RGBrgb(63, 80, 186)
HSLhsl(232, 49%, 49%)
HSVhsv(232, 66%, 73%)
CMYKcmyk(66.1%, 57%, 0%, 27.1%)
CIE-LABlab(38.44, 27.99, -58.05)
CIE-LCHlch(38.44, 64.44, 295.75°)
OKLaboklab(48.02% 0.005 -0.167)
OKLCHoklch(48.02% 0.167 271.7)
XYZxyz(13.7785, 10.3380, 47.7142)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50BA #BAA93F
analogous
#3F8EBA #3F50BA #6C3FBA
triadic
#3F50BA #BA3F50 #50BA3F
tetradic
#3F50BA #BA3F8E #BAA93F #3FBA6C
square
#3F50BA #BA3F8E #BAA93F #3FBA6C
split-complementary
#3F50BA #BA6C3F #8EBA3F
monochromatic
#20295F #303C8C #3F50BA #6A77CC #97A1DC

Accessibility & contrast

On white

6.85
#3F50BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3F50BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F50BA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50BA#FFFFFF#000000##FFFFFF
##3F50BA1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f50ba;
/* rgb */ color: rgb(63, 80, 186);
/* oklch */ color: oklch(48.0% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#8280cf',
    500: '#3f50ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f50ba;
$custom-light: #8280cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50ba",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 231.707,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.16709,
    "h": 271.7
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#3F50BA
secondary
#C8C08D
accent
#C64FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3F50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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