#3F50AA#3F50AA

#3F50AA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.145 H 271.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3F50AA
RGBrgb(63, 80, 170)
HSLhsl(230, 46%, 46%)
HSVhsv(230, 63%, 67%)
CMYKcmyk(62.9%, 52.9%, 0%, 33.3%)
CIE-LABlab(37.29, 22.33, -50.46)
CIE-LCHlch(37.29, 55.18, 293.87°)
OKLaboklab(46.79% 0.0042 -0.1447)
OKLCHoklch(46.79% 0.145 271.6)
XYZxyz(12.1718, 9.6953, 39.2524)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50AA #AA993F
analogous
#3F85AA #3F50AA #633FAA
triadic
#3F50AA #AA3F50 #50AA3F
tetradic
#3F50AA #AA3F85 #AA993F #3FAA63
square
#3F50AA #AA3F85 #AA993F #3FAA63
split-complementary
#3F50AA #AA633F #85AA3F
monochromatic
#1E2651 #2E3B7D #3F50AA #6271C5 #8E99D5

Accessibility & contrast

On white

7.14
#3F50AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3F50AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F50AA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50AA#FFFFFF#000000##FFFFFF
##3F50AA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f50aa;
/* rgb */ color: rgb(63, 80, 170);
/* oklch */ color: oklch(46.8% 0.145 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f80c4',
    500: '#3f50aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f50aa;
$custom-light: #7f80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50aa",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 230.467,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.14477,
    "h": 271.6
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#3F50AA
secondary
#C0B785
accent
#C152D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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