#3F46C4#3F46C4

#3F46C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.193 H 273.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3F46C4
RGBrgb(63, 70, 196)
HSLhsl(237, 53%, 51%)
HSVhsv(237, 68%, 77%)
CMYKcmyk(67.9%, 64.3%, 0%, 23.1%)
CIE-LABlab(36.78, 37.80, -66.60)
CIE-LCHlch(36.78, 76.58, 299.58°)
OKLaboklab(47.04% 0.0128 -0.1922)
OKLCHoklch(47.04% 0.193 273.8)
XYZxyz(14.2005, 9.4213, 53.2840)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C4 #C4BD3F
analogous
#3F88C4 #3F46C4 #7A3FC4
triadic
#3F46C4 #C43F46 #46C43F
tetradic
#3F46C4 #C43F88 #C4BD3F #3FC47A
square
#3F46C4 #C43F88 #C4BD3F #3FC47A
split-complementary
#3F46C4 #C47A3F #88C43F
monochromatic
#202468 #2E3497 #3F46C4 #6E73D2 #9DA0E1

Accessibility & contrast

On white

7.28
#3F46C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F46C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C4#FFFFFF#000000##FFFFFF
##3F46C41.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f46c4;
/* rgb */ color: rgb(63, 70, 196);
/* oklch */ color: oklch(47.0% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#857ad7',
    500: '#3f46c4',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c4;
$custom-light: #857ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c4",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 236.842,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4704,
    "c": 0.19266,
    "h": 273.8
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#3F46C4
secondary
#CDCA92
accent
#D54BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F46C4

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

Preview Lab → · Contrast checker → · Palette generator →

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