#3F46E4#3F46E4

#3F46E4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.233 H 272.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3F46E4
RGBrgb(63, 70, 228)
HSLhsl(237, 75%, 57%)
HSVhsv(237, 72%, 89%)
CMYKcmyk(72.4%, 69.3%, 0%, 10.6%)
CIE-LABlab(39.64, 48.56, -80.34)
CIE-LCHlch(39.64, 93.88, 301.15°)
OKLaboklab(49.99% 0.0096 -0.2324)
OKLCHoklch(49.99% 0.233 272.4)
XYZxyz(18.2389, 11.0366, 74.5528)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46E4 #E4DD3F
analogous
#3F98E4 #3F46E4 #8B3FE4
triadic
#3F46E4 #E43F46 #46E43F
tetradic
#3F46E4 #E43F98 #E4DD3F #3FE48B
square
#3F46E4 #E43F98 #E4DD3F #3FE48B
split-complementary
#3F46E4 #E48B3F #98E43F
monochromatic
#151A94 #1C24C9 #3F46E4 #757AEC #AAADF3

Accessibility & contrast

On white

6.55
#3F46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3F46E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F46E4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46E4#FFFFFF#000000##FFFFFF
##3F46E41.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E9
Deuteranopia (green-blind)
#0055E1
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f46e4;
/* rgb */ color: rgb(63, 70, 228);
/* oklch */ color: oklch(50.0% 0.233 272.4);
Tailwind
colors: {
  custom: {
    50: '#8b7aee',
    500: '#3f46e4',
    950: '#000000',
  },
}
SCSS
$custom: #3f46e4;
$custom-light: #8b7aee;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46e4",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 237.455,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.23262,
    "h": 272.4
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#3F46E4
secondary
#E1DE9E
accent
#EA36F2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #3F46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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