#3F50AF#3F50AF

#3F50AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.152 H 271.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3F50AF
RGBrgb(63, 80, 175)
HSLhsl(231, 47%, 47%)
HSVhsv(231, 64%, 69%)
CMYKcmyk(64%, 54.3%, 0%, 31.4%)
CIE-LABlab(37.64, 24.10, -52.86)
CIE-LCHlch(37.64, 58.10, 294.51°)
OKLaboklab(47.16% 0.0045 -0.1518)
OKLCHoklch(47.16% 0.152 271.7)
XYZxyz(12.6538, 9.8881, 41.7909)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50AF #AF9E3F
analogous
#3F88AF #3F50AF #663FAF
triadic
#3F50AF #AF3F50 #50AF3F
tetradic
#3F50AF #AF3F88 #AF9E3F #3FAF66
square
#3F50AF #AF3F88 #AF9E3F #3FAF66
split-complementary
#3F50AF #AF663F #88AF3F
monochromatic
#1F2755 #2F3B82 #3F50AF #6473C7 #919CD7

Accessibility & contrast

On white

7.05
#3F50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3F50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F50AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50AF#FFFFFF#000000##FFFFFF
##3F50AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f50af;
/* rgb */ color: rgb(63, 80, 175);
/* oklch */ color: oklch(47.2% 0.152 271.7);
Tailwind
colors: {
  custom: {
    50: '#8080c8',
    500: '#3f50af',
    950: '#000000',
  },
}
SCSS
$custom: #3f50af;
$custom-light: #8080c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50af",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 230.893,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.15184,
    "h": 271.7
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#3F50AF
secondary
#C3BA87
accent
#C251D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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