#3F46C6#3F46C6

#3F46C6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.195 H 273.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3F46C6
RGBrgb(63, 70, 198)
HSLhsl(237, 54%, 51%)
HSVhsv(237, 68%, 78%)
CMYKcmyk(68.2%, 64.6%, 0%, 22.4%)
CIE-LABlab(36.95, 38.48, -67.49)
CIE-LCHlch(36.95, 77.69, 299.69°)
OKLaboklab(47.22% 0.0127 -0.1948)
OKLCHoklch(47.22% 0.195 273.7)
XYZxyz(14.4297, 9.5130, 54.4909)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C6 #C6BF3F
analogous
#3F89C6 #3F46C6 #7B3FC6
triadic
#3F46C6 #C63F46 #46C63F
tetradic
#3F46C6 #C63F89 #C6BF3F #3FC67B
square
#3F46C6 #C63F89 #C6BF3F #3FC67B
split-complementary
#3F46C6 #C67B3F #89C63F
monochromatic
#20246B #2E339A #3F46C6 #6E73D4 #9DA1E2

Accessibility & contrast

On white

7.23
#3F46C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F46C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C6#FFFFFF#000000##FFFFFF
##3F46C61.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f46c6;
/* rgb */ color: rgb(63, 70, 198);
/* oklch */ color: oklch(47.2% 0.195 273.7);
Tailwind
colors: {
  custom: {
    50: '#857ad8',
    500: '#3f46c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c6;
$custom-light: #857ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c6",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 198
  },
  "hsl": {
    "h": 236.889,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.19524,
    "h": 273.7
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#3F46C6
secondary
#CECB93
accent
#D64ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F46C6

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

Preview Lab → · Contrast checker → · Palette generator →

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