#3F51AE#3F51AE

#3F51AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.149 H 271.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3F51AE
RGBrgb(63, 81, 174)
HSLhsl(230, 47%, 46%)
HSVhsv(230, 64%, 68%)
CMYKcmyk(63.8%, 53.4%, 0%, 31.8%)
CIE-LABlab(37.84, 23.09, -51.95)
CIE-LCHlch(37.84, 56.86, 293.96°)
OKLaboklab(47.29% 0.0035 -0.1491)
OKLCHoklch(47.29% 0.149 271.3)
XYZxyz(12.6297, 9.9965, 41.3001)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51AE #AE9C3F
analogous
#3F89AE #3F51AE #653FAE
triadic
#3F51AE #AE3F51 #51AE3F
tetradic
#3F51AE #AE3F89 #AE9C3F #3FAE65
square
#3F51AE #AE3F89 #AE9C3F #3FAE65
split-complementary
#3F51AE #AE653F #89AE3F
monochromatic
#1E2754 #2F3C81 #3F51AE #6474C7 #909CD7

Accessibility & contrast

On white

7.00
#3F51AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3F51AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51AE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51AE#FFFFFF#000000##FFFFFF
##3F51AE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f51ae;
/* rgb */ color: rgb(63, 81, 174);
/* oklch */ color: oklch(47.3% 0.149 271.3);
Tailwind
colors: {
  custom: {
    50: '#8081c7',
    500: '#3f51ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f51ae;
$custom-light: #8081c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51ae",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 230.27,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.14912,
    "h": 271.3
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#3F51AE
secondary
#C2B887
accent
#C151D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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