#3F3EA3#3F3EA3

#3F3EA3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.159 H 277.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3F3EA3
RGBrgb(63, 62, 163)
HSLhsl(241, 45%, 44%)
HSVhsv(241, 62%, 64%)
CMYKcmyk(61.3%, 62%, 0%, 36.1%)
CIE-LABlab(32.14, 31.52, -54.63)
CIE-LCHlch(32.14, 63.07, 299.99°)
OKLaboklab(42.78% 0.0214 -0.1571)
OKLCHoklch(42.78% 0.159 277.8)
XYZxyz(10.3813, 7.1456, 35.4754)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EA3 #A2A33E
analogous
#3E70A3 #3F3EA3 #723EA3
triadic
#3F3EA3 #A33F3E #3EA33F
tetradic
#3F3EA3 #A33E70 #A2A33E #3EA372
square
#3F3EA3 #A33E70 #A2A33E #3EA372
split-complementary
#3F3EA3 #A3723E #70A33E
monochromatic
#1D1C4A #2E2D77 #3F3EA3 #5E5DC1 #8A89D2

Accessibility & contrast

On white

8.64
#3F3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EA3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EA3#FFFFFF#000000##FFFFFF
##3F3EA31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3ea3;
/* rgb */ color: rgb(63, 62, 163);
/* oklch */ color: oklch(42.8% 0.159 277.8);
Tailwind
colors: {
  custom: {
    50: '#7f73bf',
    500: '#3f3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ea3;
$custom-light: #7f73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ea3",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 240.594,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.15859,
    "h": 277.8
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#3F3EA3
secondary
#BCBD80
accent
#D553D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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