#3F3BB9#3F3BB9

#3F3BB9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.191 H 276.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB9
RGBrgb(63, 59, 185)
HSLhsl(242, 52%, 48%)
HSVhsv(242, 68%, 73%)
CMYKcmyk(65.9%, 68.1%, 0%, 27.5%)
CIE-LABlab(33.32, 40.78, -65.81)
CIE-LCHlch(33.32, 77.42, 301.78°)
OKLaboklab(44.23% 0.0219 -0.19)
OKLCHoklch(44.23% 0.191 276.6)
XYZxyz(12.3680, 7.6864, 46.7214)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB9 #B5B93B
analogous
#3B76B9 #3F3BB9 #7E3BB9
triadic
#3F3BB9 #B93F3B #3BB93F
tetradic
#3F3BB9 #B93B76 #B5B93B #3BB97E
square
#3F3BB9 #B93B76 #B5B93B #3BB97E
split-complementary
#3F3BB9 #B97E3B #76B93B
monochromatic
#1F1D5C #2F2C8B #3F3BB9 #6764CD #9492DC

Accessibility & contrast

On white

8.28
#3F3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3F3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB9
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB9#FFFFFF#000000##FFFFFF
##3F3BB91.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3bb9;
/* rgb */ color: rgb(63, 59, 185);
/* oklch */ color: oklch(44.2% 0.191 276.6);
Tailwind
colors: {
  custom: {
    50: '#8372cf',
    500: '#3f3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb9;
$custom-light: #8372cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb9",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 241.905,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.19122,
    "h": 276.6
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#3F3BB9
secondary
#C5C788
accent
#DB4DD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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