#3F3AB5#3F3AB5

#3F3AB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.187 H 277.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3F3AB5
RGBrgb(63, 58, 181)
HSLhsl(242, 51%, 47%)
HSVhsv(242, 68%, 71%)
CMYKcmyk(65.2%, 68%, 0%, 29%)
CIE-LABlab(32.74, 40.05, -64.40)
CIE-LCHlch(32.74, 75.84, 301.88°)
OKLaboklab(43.7% 0.0232 -0.1858)
OKLCHoklch(43.7% 0.187 277.1)
XYZxyz(11.9007, 7.4181, 44.5118)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AB5 #B0B53A
analogous
#3A73B5 #3F3AB5 #7D3AB5
triadic
#3F3AB5 #B53F3A #3AB53F
tetradic
#3F3AB5 #B53A73 #B0B53A #3AB57D
square
#3F3AB5 #B53A73 #B0B53A #3AB57D
split-complementary
#3F3AB5 #B57D3A #73B53A
monochromatic
#1F1C58 #2F2B87 #3F3AB5 #6560CC #928EDB

Accessibility & contrast

On white

8.45
#3F3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3F3AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AB5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AB5#FFFFFF#000000##FFFFFF
##3F3AB51.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f3ab5;
/* rgb */ color: rgb(63, 58, 181);
/* oklch */ color: oklch(43.7% 0.187 277.1);
Tailwind
colors: {
  custom: {
    50: '#8371cc',
    500: '#3f3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ab5;
$custom-light: #8371cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ab5",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 242.439,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.18726,
    "h": 277.1
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#3F3AB5
secondary
#C3C685
accent
#DB4DD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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