#3F3FBD#3F3FBD

#3F3FBD is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.192 H 275.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3F3FBD
RGBrgb(63, 63, 189)
HSLhsl(240, 50%, 49%)
HSVhsv(240, 67%, 74%)
CMYKcmyk(66.7%, 66.7%, 0%, 25.9%)
CIE-LABlab(34.57, 39.71, -66.13)
CIE-LCHlch(34.57, 77.13, 300.98°)
OKLaboklab(45.24% 0.0185 -0.1909)
OKLCHoklch(45.24% 0.192 275.5)
XYZxyz(13.0097, 8.2848, 49.0478)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FBD #BDBD3F
analogous
#3F7EBD #3F3FBD #7E3FBD
triadic
#3F3FBD #BD3F3F #3FBD3F
tetradic
#3F3FBD #BD3F7E #BDBD3F #3FBD7E
square
#3F3FBD #BD3F7E #BDBD3F #3FBD7E
split-complementary
#3F3FBD #BD7E3F #7EBD3F
monochromatic
#202061 #30308F #3F3FBD #6B6BCE #9999DD

Accessibility & contrast

On white

7.90
#3F3FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F3FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FBD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FBD#FFFFFF#000000##FFFFFF
##3F3FBD1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3fbd;
/* rgb */ color: rgb(63, 63, 189);
/* oklch */ color: oklch(45.2% 0.192 275.5);
Tailwind
colors: {
  custom: {
    50: '#8475d2',
    500: '#3f3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fbd;
$custom-light: #8475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fbd",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.19177,
    "h": 275.5
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#3F3FBD
secondary
#C9C98F
accent
#DA4EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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