#3F3EB2#3F3EB2

#3F3EB2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.179 H 276.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3F3EB2
RGBrgb(63, 62, 178)
HSLhsl(241, 48%, 47%)
HSVhsv(241, 65%, 70%)
CMYKcmyk(64.6%, 65.2%, 0%, 30.2%)
CIE-LABlab(33.38, 36.61, -61.57)
CIE-LCHlch(33.38, 71.63, 300.74°)
OKLaboklab(44.08% 0.0204 -0.1775)
OKLCHoklch(44.08% 0.179 276.6)
XYZxyz(11.8058, 7.7154, 42.9779)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EB2 #B1B23E
analogous
#3E77B2 #3F3EB2 #793EB2
triadic
#3F3EB2 #B23F3E #3EB23F
tetradic
#3F3EB2 #B23E77 #B1B23E #3EB279
square
#3F3EB2 #B23E77 #B1B23E #3EB279
split-complementary
#3F3EB2 #B2793E #77B23E
monochromatic
#1F1E57 #2F2E85 #3F3EB2 #6564C9 #9292D9

Accessibility & contrast

On white

8.26
#3F3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3F3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EB2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EB2#FFFFFF#000000##FFFFFF
##3F3EB21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3eb2;
/* rgb */ color: rgb(63, 62, 178);
/* oklch */ color: oklch(44.1% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#8274ca',
    500: '#3f3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3eb2;
$custom-light: #8274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3eb2",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 240.517,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.17868,
    "h": 276.6
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#3F3EB2
secondary
#C4C488
accent
#D850D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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