#3F3EC4#3F3EC4

#3F3EC4 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.7% C 0.202 H 275.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3F3EC4
RGBrgb(63, 62, 196)
HSLhsl(240, 53%, 51%)
HSVhsv(240, 68%, 77%)
CMYKcmyk(67.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(34.98, 42.65, -69.56)
CIE-LCHlch(34.98, 81.60, 301.51°)
OKLaboklab(45.73% 0.0184 -0.2009)
OKLCHoklch(45.73% 0.202 275.2)
XYZxyz(13.7330, 8.4863, 53.1281)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EC4 #C3C43E
analogous
#3E80C4 #3F3EC4 #823EC4
triadic
#3F3EC4 #C43F3E #3EC43F
tetradic
#3F3EC4 #C43E80 #C3C43E #3EC482
square
#3F3EC4 #C43E80 #C3C43E #3EC482
split-complementary
#3F3EC4 #C4823E #80C43E
monochromatic
#202068 #2F2E97 #3F3EC4 #6E6DD2 #9C9CE1

Accessibility & contrast

On white

7.78
#3F3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3F3EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EC4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EC4#FFFFFF#000000##FFFFFF
##3F3EC41.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3ec4;
/* rgb */ color: rgb(63, 62, 196);
/* oklch */ color: oklch(45.7% 0.202 275.2);
Tailwind
colors: {
  custom: {
    50: '#8574d7',
    500: '#3f3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ec4;
$custom-light: #8574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ec4",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 240.448,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.20177,
    "h": 275.2
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#3F3EC4
secondary
#CCCD91
accent
#DD4BDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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