#3F46C5#3F46C5

#3F46C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.194 H 273.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3F46C5
RGBrgb(63, 70, 197)
HSLhsl(237, 54%, 51%)
HSVhsv(237, 68%, 77%)
CMYKcmyk(68%, 64.5%, 0%, 22.7%)
CIE-LABlab(36.87, 38.14, -67.05)
CIE-LCHlch(36.87, 77.14, 299.64°)
OKLaboklab(47.13% 0.0127 -0.1935)
OKLCHoklch(47.13% 0.194 273.8)
XYZxyz(14.3147, 9.4670, 53.8854)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C5 #C5BE3F
analogous
#3F89C5 #3F46C5 #7B3FC5
triadic
#3F46C5 #C53F46 #46C53F
tetradic
#3F46C5 #C53F89 #C5BE3F #3FC57B
square
#3F46C5 #C53F89 #C5BE3F #3FC57B
split-complementary
#3F46C5 #C57B3F #89C53F
monochromatic
#20246A #2E3499 #3F46C5 #6E73D3 #9DA1E1

Accessibility & contrast

On white

7.26
#3F46C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F46C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C5#FFFFFF#000000##FFFFFF
##3F46C51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f46c5;
/* rgb */ color: rgb(63, 70, 197);
/* oklch */ color: oklch(47.1% 0.194 273.8);
Tailwind
colors: {
  custom: {
    50: '#857ad8',
    500: '#3f46c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c5;
$custom-light: #857ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c5",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 236.866,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.19395,
    "h": 273.8
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#3F46C5
secondary
#CECA92
accent
#D54BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F46C5

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

Preview Lab → · Contrast checker → · Palette generator →

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