#3F3BB4#3F3BB4

#3F3BB4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.185 H 277.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB4
RGBrgb(63, 59, 180)
HSLhsl(242, 51%, 47%)
HSVhsv(242, 67%, 71%)
CMYKcmyk(65%, 67.2%, 0%, 29.4%)
CIE-LABlab(32.87, 39.12, -63.59)
CIE-LCHlch(32.87, 74.66, 301.60°)
OKLaboklab(43.77% 0.0225 -0.1834)
OKLCHoklch(43.77% 0.185 277)
XYZxyz(11.8494, 7.4790, 43.9903)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB4 #B0B43B
analogous
#3B74B4 #3F3BB4 #7B3BB4
triadic
#3F3BB4 #B43F3B #3BB43F
tetradic
#3F3BB4 #B43B74 #B0B43B #3BB47B
square
#3F3BB4 #B43B74 #B0B43B #3BB47B
split-complementary
#3F3BB4 #B47B3B #74B43B
monochromatic
#1F1D58 #2F2C86 #3F3BB4 #6561CB #928FDA

Accessibility & contrast

On white

8.41
#3F3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F3BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB4
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB4#FFFFFF#000000##FFFFFF
##3F3BB41.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f3bb4;
/* rgb */ color: rgb(63, 59, 180);
/* oklch */ color: oklch(43.8% 0.185 277.0);
Tailwind
colors: {
  custom: {
    50: '#8272cb',
    500: '#3f3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb4;
$custom-light: #8272cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb4",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 241.983,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.18482,
    "h": 277
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#3F3BB4
secondary
#C3C586
accent
#DA4ED5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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