#3F46E0#3F46E0

#3F46E0 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.228 H 272.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3F46E0
RGBrgb(63, 70, 224)
HSLhsl(237, 72%, 56%)
HSVhsv(237, 72%, 88%)
CMYKcmyk(71.9%, 68.8%, 0%, 12.2%)
CIE-LABlab(39.27, 47.24, -78.68)
CIE-LCHlch(39.27, 91.77, 300.98°)
OKLaboklab(49.61% 0.01 -0.2275)
OKLCHoklch(49.61% 0.228 272.5)
XYZxyz(17.6901, 10.8171, 71.6622)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46E0 #E0D93F
analogous
#3F97E0 #3F46E0 #893FE0
triadic
#3F46E0 #E03F46 #46E03F
tetradic
#3F46E0 #E03F97 #E0D93F #3FE089
square
#3F46E0 #E03F97 #E0D93F #3FE089
split-complementary
#3F46E0 #E0893F #97E03F
monochromatic
#171C8E #1F26C2 #3F46E0 #7479E9 #A8ACF1

Accessibility & contrast

On white

6.64
#3F46E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3F46E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F46E0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46E0#FFFFFF#000000##FFFFFF
##3F46E01.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E5
Deuteranopia (green-blind)
#0055DD
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f46e0;
/* rgb */ color: rgb(63, 70, 224);
/* oklch */ color: oklch(49.6% 0.228 272.5);
Tailwind
colors: {
  custom: {
    50: '#8b7aeb',
    500: '#3f46e0',
    950: '#000000',
  },
}
SCSS
$custom: #3f46e0;
$custom-light: #8b7aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46e0",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 237.391,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.22777,
    "h": 272.5
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#3F46E0
secondary
#DFDC9C
accent
#E739EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3F46E0

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

Preview Lab → · Contrast checker → · Palette generator →

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