#3F3ED9#3F3ED9

#3F3ED9 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.7% C 0.228 H 273.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3F3ED9
RGBrgb(63, 62, 217)
HSLhsl(240, 67%, 55%)
HSVhsv(240, 71%, 85%)
CMYKcmyk(71%, 71.4%, 0%, 14.9%)
CIE-LABlab(36.95, 49.52, -78.49)
CIE-LCHlch(36.95, 92.81, 302.25°)
OKLaboklab(47.74% 0.0153 -0.227)
OKLCHoklch(47.74% 0.228 273.9)
XYZxyz(16.2927, 9.5102, 66.6092)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ED9 #D8D93E
analogous
#3E8BD9 #3F3ED9 #8D3ED9
triadic
#3F3ED9 #D93F3E #3ED93F
tetradic
#3F3ED9 #D93E8B #D8D93E #3ED98D
square
#3F3ED9 #D93E8B #D8D93E #3ED98D
split-complementary
#3F3ED9 #D98D3E #8BD93E
monochromatic
#1A1A83 #2524B6 #3F3ED9 #7271E3 #A5A4ED

Accessibility & contrast

On white

7.24
#3F3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3ED9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3ED9#FFFFFF#000000##FFFFFF
##3F3ED91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#0050D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f3ed9;
/* rgb */ color: rgb(63, 62, 217);
/* oklch */ color: oklch(47.7% 0.228 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a75e6',
    500: '#3f3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ed9;
$custom-light: #8a75e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ed9",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 240.387,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.22752,
    "h": 273.9
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#3F3ED9
secondary
#DADA99
accent
#EA3EE9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3F3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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