#3F3FBB#3F3FBB

#3F3FBB is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.189 H 275.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3F3FBB
RGBrgb(63, 63, 187)
HSLhsl(240, 50%, 49%)
HSVhsv(240, 66%, 73%)
CMYKcmyk(66.3%, 66.3%, 0%, 26.7%)
CIE-LABlab(34.39, 39.04, -65.24)
CIE-LCHlch(34.39, 76.03, 300.90°)
OKLaboklab(45.06% 0.0187 -0.1883)
OKLCHoklch(45.06% 0.189 275.7)
XYZxyz(12.7941, 8.1985, 47.9123)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FBB #BBBB3F
analogous
#3F7DBB #3F3FBB #7D3FBB
triadic
#3F3FBB #BB3F3F #3FBB3F
tetradic
#3F3FBB #BB3F7D #BBBB3F #3FBB7D
square
#3F3FBB #BB3F7D #BBBB3F #3FBB7D
split-complementary
#3F3FBB #BB7D3F #7DBB3F
monochromatic
#20205F #30308D #3F3FBB #6A6ACD #9898DC

Accessibility & contrast

On white

7.95
#3F3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3F3FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FBB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FBB#FFFFFF#000000##FFFFFF
##3F3FBB1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3fbb;
/* rgb */ color: rgb(63, 63, 187);
/* oklch */ color: oklch(45.1% 0.189 275.7);
Tailwind
colors: {
  custom: {
    50: '#8375d0',
    500: '#3f3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fbb;
$custom-light: #8375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fbb",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.1892,
    "h": 275.7
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#3F3FBB
secondary
#C8C88E
accent
#D94FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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