#3F3E8A#3F3E8A

#3F3E8A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.123 H 280.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3F3E8A
RGBrgb(63, 62, 138)
HSLhsl(241, 38%, 39%)
HSVhsv(241, 55%, 54%)
CMYKcmyk(54.3%, 55.1%, 0%, 45.9%)
CIE-LABlab(30.25, 23.01, -42.44)
CIE-LCHlch(30.25, 48.28, 298.47°)
OKLaboklab(40.79% 0.0215 -0.1213)
OKLCHoklch(40.79% 0.123 280)
XYZxyz(8.3585, 6.3365, 24.8224)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3E8A #898A3E
analogous
#3E638A #3F3E8A #653E8A
triadic
#3F3E8A #8A3F3E #3E8A3F
tetradic
#3F3E8A #8A3E63 #898A3E #3E8A65
square
#3F3E8A #8A3E63 #898A3E #3E8A65
split-complementary
#3F3E8A #8A653E #638A3E
monochromatic
#181836 #2C2B60 #3F3E8A #5553B2 #7E7EC5

Accessibility & contrast

On white

9.26
#3F3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3F3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3E8A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3E8A#FFFFFF#000000##FFFFFF
##3F3E8A1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#064488
Tritanopia (blue-blind)
#1E4F5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f3e8a;
/* rgb */ color: rgb(63, 62, 138);
/* oklch */ color: oklch(40.8% 0.123 280.0);
Tailwind
colors: {
  custom: {
    50: '#7a73ad',
    500: '#3f3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f3e8a;
$custom-light: #7a73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3e8a",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 240.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.12318,
    "h": 280
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#3F3E8A
secondary
#AEAF75
accent
#CE5ACC
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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