#3F3FBF#3F3FBF

#3F3FBF is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.194 H 275.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3F3FBF
RGBrgb(63, 63, 191)
HSLhsl(240, 50%, 50%)
HSVhsv(240, 67%, 75%)
CMYKcmyk(67%, 67%, 0%, 25.1%)
CIE-LABlab(34.75, 40.38, -67.01)
CIE-LCHlch(34.75, 78.24, 301.07°)
OKLaboklab(45.42% 0.0183 -0.1935)
OKLCHoklch(45.42% 0.194 275.4)
XYZxyz(13.2283, 8.3722, 50.1990)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3FBF #BFBF3F
analogous
#3F7FBF #3F3FBF #7F3FBF
triadic
#3F3FBF #BF3F3F #3FBF3F
tetradic
#3F3FBF #BF3F7F #BFBF3F #3FBF7F
square
#3F3FBF #BF3F7F #BFBF3F #3FBF7F
split-complementary
#3F3FBF #BF7F3F #7FBF3F
monochromatic
#212163 #303091 #3F3FBF #6D6DCF #9B9BDE

Accessibility & contrast

On white

7.85
#3F3FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3FBF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3FBF#FFFFFF#000000##FFFFFF
##3F3FBF1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3fbf;
/* rgb */ color: rgb(63, 63, 191);
/* oklch */ color: oklch(45.4% 0.194 275.4);
Tailwind
colors: {
  custom: {
    50: '#8475d3',
    500: '#3f3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3f3fbf;
$custom-light: #8475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3fbf",
  "rgb": {
    "r": 63,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.19432,
    "h": 275.4
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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