#3F49C5#3F49C5

#3F49C5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.190 H 273.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3F49C5
RGBrgb(63, 73, 197)
HSLhsl(236, 54%, 51%)
HSVhsv(236, 68%, 77%)
CMYKcmyk(68%, 62.9%, 0%, 22.7%)
CIE-LABlab(37.57, 36.28, -65.89)
CIE-LCHlch(37.57, 75.22, 298.84°)
OKLaboklab(47.65% 0.0105 -0.1901)
OKLCHoklch(47.65% 0.19 273.2)
XYZxyz(14.5071, 9.8517, 53.9495)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F49C5 #C5BB3F
analogous
#3F8CC5 #3F49C5 #783FC5
triadic
#3F49C5 #C53F49 #49C53F
tetradic
#3F49C5 #C53F8C #C5BB3F #3FC578
square
#3F49C5 #C53F8C #C5BB3F #3FC578
split-complementary
#3F49C5 #C5783F #8CC53F
monochromatic
#20256A #2E3699 #3F49C5 #6E76D3 #9DA2E1

Accessibility & contrast

On white

7.07
#3F49C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F49C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F49C5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F49C5#FFFFFF#000000##FFFFFF
##3F49C51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f49c5;
/* rgb */ color: rgb(63, 73, 197);
/* oklch */ color: oklch(47.6% 0.190 273.2);
Tailwind
colors: {
  custom: {
    50: '#857cd8',
    500: '#3f49c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f49c5;
$custom-light: #857cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f49c5",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 235.522,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.19042,
    "h": 273.2
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#3F49C5
secondary
#CEC992
accent
#D24BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F49C5

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

Preview Lab → · Contrast checker → · Palette generator →

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