#3F3BBD#3F3BBD

#3F3BBD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.196 H 276.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3F3BBD
RGBrgb(63, 59, 189)
HSLhsl(242, 52%, 49%)
HSVhsv(242, 69%, 74%)
CMYKcmyk(66.7%, 68.8%, 0%, 25.9%)
CIE-LABlab(33.68, 42.10, -67.58)
CIE-LCHlch(33.68, 79.62, 301.92°)
OKLaboklab(44.6% 0.0214 -0.1951)
OKLCHoklch(44.6% 0.196 276.3)
XYZxyz(12.7962, 7.8577, 48.9766)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BBD #B9BD3B
analogous
#3B78BD #3F3BBD #803BBD
triadic
#3F3BBD #BD3F3B #3BBD3F
tetradic
#3F3BBD #BD3B78 #B9BD3B #3BBD80
square
#3F3BBD #BD3B78 #B9BD3B #3BBD80
split-complementary
#3F3BBD #BD803B #78BD3B
monochromatic
#201E60 #2F2C8E #3F3BBD #6966CF #9795DE

Accessibility & contrast

On white

8.17
#3F3BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3F3BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BBD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BBD#FFFFFF#000000##FFFFFF
##3F3BBD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3bbd;
/* rgb */ color: rgb(63, 59, 189);
/* oklch */ color: oklch(44.6% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#8472d2',
    500: '#3f3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bbd;
$custom-light: #8472d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bbd",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 241.846,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.19629,
    "h": 276.3
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#3F3BBD
secondary
#C7C98B
accent
#DC4CD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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