#3F3FBE#3F3FBE

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

Color values

HEX#3F3FBE
RGBrgb(63, 63, 190)
HSLhsl(240, 50%, 50%)
HSVhsv(240, 67%, 75%)
CMYKcmyk(66.8%, 66.8%, 0%, 25.5%)
CIE-LABlab(34.66, 40.05, -66.57)
CIE-LCHlch(34.66, 77.69, 301.03°)
OKLaboklab(45.33% 0.0184 -0.1922)
OKLCHoklch(45.33% 0.193 275.5)
XYZxyz(13.1186, 8.3283, 49.6214)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FBE #BEBE3F
analogous
#3F7FBE #3F3FBE #7F3FBE
triadic
#3F3FBE #BE3F3F #3FBE3F
tetradic
#3F3FBE #BE3F7F #BEBE3F #3FBE7F
square
#3F3FBE #BE3F7F #BEBE3F #3FBE7F
split-complementary
#3F3FBE #BE7F3F #7FBE3F
monochromatic
#212162 #303090 #3F3FBE #6C6CCE #9A9ADD

Accessibility & contrast

On white

7.88
#3F3FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3F3FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3FBE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FBE#FFFFFF#000000##FFFFFF
##3F3FBE1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3fbe;
/* rgb */ color: rgb(63, 63, 190);
/* oklch */ color: oklch(45.3% 0.193 275.5);
Tailwind
colors: {
  custom: {
    50: '#8475d3',
    500: '#3f3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fbe;
$custom-light: #8475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fbe",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.19305,
    "h": 275.5
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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