#3F3EBA#3F3EBA

#3F3EBA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.189 H 275.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3F3EBA
RGBrgb(63, 62, 186)
HSLhsl(240, 50%, 49%)
HSVhsv(240, 67%, 73%)
CMYKcmyk(66.1%, 66.7%, 0%, 27.1%)
CIE-LABlab(34.08, 39.31, -65.16)
CIE-LCHlch(34.08, 76.10, 301.10°)
OKLaboklab(44.8% 0.0196 -0.188)
OKLCHoklch(44.8% 0.189 275.9)
XYZxyz(12.6325, 8.0461, 47.3322)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EBA #B9BA3E
analogous
#3E7BBA #3F3EBA #7D3EBA
triadic
#3F3EBA #BA3F3E #3EBA3F
tetradic
#3F3EBA #BA3E7B #B9BA3E #3EBA7D
square
#3F3EBA #BA3E7B #B9BA3E #3EBA7D
split-complementary
#3F3EBA #BA7D3E #7BBA3E
monochromatic
#201F5E #2F2F8C #3F3EBA #6968CD #9796DC

Accessibility & contrast

On white

8.05
#3F3EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3F3EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EBA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EBA#FFFFFF#000000##FFFFFF
##3F3EBA1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f3eba;
/* rgb */ color: rgb(63, 62, 186);
/* oklch */ color: oklch(44.8% 0.189 275.9);
Tailwind
colors: {
  custom: {
    50: '#8374d0',
    500: '#3f3eba',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eba;
$custom-light: #8374d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eba",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 240.484,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.18907,
    "h": 275.9
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#3F3EBA
secondary
#C7C88C
accent
#DA4ED8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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