#3F3BBB#3F3BBB

#3F3BBB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.194 H 276.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3F3BBB
RGBrgb(63, 59, 187)
HSLhsl(242, 52%, 48%)
HSVhsv(242, 68%, 73%)
CMYKcmyk(66.3%, 68.4%, 0%, 26.7%)
CIE-LABlab(33.50, 41.44, -66.70)
CIE-LCHlch(33.50, 78.52, 301.85°)
OKLaboklab(44.41% 0.0216 -0.1925)
OKLCHoklch(44.41% 0.194 276.4)
XYZxyz(12.5806, 7.7715, 47.8411)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BBB #B7BB3B
analogous
#3B77BB #3F3BBB #7F3BBB
triadic
#3F3BBB #BB3F3B #3BBB3F
tetradic
#3F3BBB #BB3B77 #B7BB3B #3BBB7F
square
#3F3BBB #BB3B77 #B7BB3B #3BBB7F
split-complementary
#3F3BBB #BB7F3B #77BB3B
monochromatic
#201E5E #2F2C8C #3F3BBB #6865CE #9693DD

Accessibility & contrast

On white

8.22
#3F3BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F3BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BBB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BBB#FFFFFF#000000##FFFFFF
##3F3BBB1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3bbb;
/* rgb */ color: rgb(63, 59, 187);
/* oklch */ color: oklch(44.4% 0.194 276.4);
Tailwind
colors: {
  custom: {
    50: '#8472d1',
    500: '#3f3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bbb;
$custom-light: #8472d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bbb",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 241.875,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.19376,
    "h": 276.4
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#3F3BBB
secondary
#C6C88A
accent
#DB4CD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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