#3F3CBB#3F3CBB

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

Color values

HEX#3F3CBB
RGBrgb(63, 60, 187)
HSLhsl(241, 51%, 48%)
HSVhsv(241, 68%, 73%)
CMYKcmyk(66.3%, 67.9%, 0%, 26.7%)
CIE-LABlab(33.72, 40.85, -66.34)
CIE-LCHlch(33.72, 77.91, 301.62°)
OKLaboklab(44.57% 0.0209 -0.1915)
OKLCHoklch(44.57% 0.193 276.2)
XYZxyz(12.6325, 7.8752, 47.8584)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CBB #B8BB3C
analogous
#3C78BB #3F3CBB #7E3CBB
triadic
#3F3CBB #BB3F3C #3CBB3F
tetradic
#3F3CBB #BB3C78 #B8BB3C #3CBB7E
square
#3F3CBB #BB3C78 #B8BB3C #3CBB7E
split-complementary
#3F3CBB #BB7E3C #78BB3C
monochromatic
#201E5E #2F2D8D #3F3CBB #6966CE #9695DD

Accessibility & contrast

On white

8.15
#3F3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CBB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CBB#FFFFFF#000000##FFFFFF
##3F3CBB1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3cbb;
/* rgb */ color: rgb(63, 60, 187);
/* oklch */ color: oklch(44.6% 0.193 276.2);
Tailwind
colors: {
  custom: {
    50: '#8473d1',
    500: '#3f3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cbb;
$custom-light: #8473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cbb",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 241.417,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.19263,
    "h": 276.2
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#3F3CBB
secondary
#C7C88B
accent
#DB4DD8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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