#3F46C2#3F46C2

#3F46C2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.190 H 273.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3F46C2
RGBrgb(63, 70, 194)
HSLhsl(237, 52%, 50%)
HSVhsv(237, 68%, 76%)
CMYKcmyk(67.5%, 63.9%, 0%, 23.9%)
CIE-LABlab(36.61, 37.11, -65.71)
CIE-LCHlch(36.61, 75.47, 299.46°)
OKLaboklab(46.86% 0.0129 -0.1896)
OKLCHoklch(46.86% 0.19 273.9)
XYZxyz(13.9744, 9.3308, 52.0931)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46C2 #C2BB3F
analogous
#3F87C2 #3F46C2 #793FC2
triadic
#3F46C2 #C23F46 #46C23F
tetradic
#3F46C2 #C23F87 #C2BB3F #3FC279
square
#3F46C2 #C23F87 #C2BB3F #3FC279
split-complementary
#3F46C2 #C2793F #87C23F
monochromatic
#202466 #2F3595 #3F46C2 #6D73D1 #9CA0E0

Accessibility & contrast

On white

7.33
#3F46C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F46C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46C2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46C2#FFFFFF#000000##FFFFFF
##3F46C21.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f46c2;
/* rgb */ color: rgb(63, 70, 194);
/* oklch */ color: oklch(46.9% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#8479d5',
    500: '#3f46c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f46c2;
$custom-light: #8479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46c2",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 236.794,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.19006,
    "h": 273.9
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#3F46C2
secondary
#CCC891
accent
#D44DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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