#3F3EDA#3F3EDA

#3F3EDA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.8% C 0.229 H 273.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3F3EDA
RGBrgb(63, 62, 218)
HSLhsl(240, 68%, 55%)
HSVhsv(240, 72%, 85%)
CMYKcmyk(71.1%, 71.6%, 0%, 14.5%)
CIE-LABlab(37.05, 49.85, -78.91)
CIE-LCHlch(37.05, 93.33, 302.28°)
OKLaboklab(47.84% 0.0152 -0.2282)
OKLCHoklch(47.84% 0.229 273.8)
XYZxyz(16.4232, 9.5623, 67.2963)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EDA #D9DA3E
analogous
#3E8BDA #3F3EDA #8D3EDA
triadic
#3F3EDA #DA3F3E #3EDA3F
tetradic
#3F3EDA #DA3E8B #D9DA3E #3EDA8D
square
#3F3EDA #DA3E8B #D9DA3E #3EDA8D
split-complementary
#3F3EDA #DA8D3E #8BDA3E
monochromatic
#1A1984 #2423B8 #3F3EDA #7271E4 #A5A5EE

Accessibility & contrast

On white

7.21
#3F3EDA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3F3EDA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EDA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EDA#FFFFFF#000000##FFFFFF
##3F3EDA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3eda;
/* rgb */ color: rgb(63, 62, 218);
/* oklch */ color: oklch(47.8% 0.229 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a75e7',
    500: '#3f3eda',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eda;
$custom-light: #8a75e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eda",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 218
  },
  "hsl": {
    "h": 240.385,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.22871,
    "h": 273.8
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#3F3EDA
secondary
#DADB99
accent
#EB3DEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3F3EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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