#3F3EC5#3F3EC5

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

Color values

HEX#3F3EC5
RGBrgb(63, 62, 197)
HSLhsl(240, 54%, 51%)
HSVhsv(240, 69%, 77%)
CMYKcmyk(68%, 68.5%, 0%, 22.7%)
CIE-LABlab(35.07, 42.98, -70.00)
CIE-LCHlch(35.07, 82.14, 301.55°)
OKLaboklab(45.82% 0.0183 -0.2022)
OKLCHoklch(45.82% 0.203 275.2)
XYZxyz(13.8472, 8.5320, 53.7296)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EC5 #C4C53E
analogous
#3E81C5 #3F3EC5 #823EC5
triadic
#3F3EC5 #C53F3E #3EC53F
tetradic
#3F3EC5 #C53E81 #C4C53E #3EC582
square
#3F3EC5 #C53E81 #C4C53E #3EC582
split-complementary
#3F3EC5 #C5823E #81C53E
monochromatic
#202069 #2E2E98 #3F3EC5 #6E6DD3 #9D9CE1

Accessibility & contrast

On white

7.76
#3F3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3F3EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EC5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EC5#FFFFFF#000000##FFFFFF
##3F3EC51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3ec5;
/* rgb */ color: rgb(63, 62, 197);
/* oklch */ color: oklch(45.8% 0.203 275.2);
Tailwind
colors: {
  custom: {
    50: '#8674d8',
    500: '#3f3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ec5;
$custom-light: #8674d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ec5",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 240.444,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.20302,
    "h": 275.2
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#3F3EC5
secondary
#CDCD91
accent
#DD4BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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