#3F3CBA#3F3CBA

#3F3CBA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.5% C 0.191 H 276.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3F3CBA
RGBrgb(63, 60, 186)
HSLhsl(241, 51%, 48%)
HSVhsv(241, 68%, 73%)
CMYKcmyk(66.1%, 67.7%, 0%, 27.1%)
CIE-LABlab(33.63, 40.51, -65.90)
CIE-LCHlch(33.63, 77.35, 301.58°)
OKLaboklab(44.48% 0.0211 -0.1902)
OKLCHoklch(44.48% 0.191 276.3)
XYZxyz(12.5258, 7.8326, 47.2966)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CBA #B7BA3C
analogous
#3C78BA #3F3CBA #7E3CBA
triadic
#3F3CBA #BA3F3C #3CBA3F
tetradic
#3F3CBA #BA3C78 #B7BA3C #3CBA7E
square
#3F3CBA #BA3C78 #B7BA3C #3CBA7E
split-complementary
#3F3CBA #BA7E3C #78BA3C
monochromatic
#201E5D #2F2D8C #3F3CBA #6866CE #9694DC

Accessibility & contrast

On white

8.18
#3F3CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F3CBA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CBA#FFFFFF#000000##FFFFFF
##3F3CBA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f3cba;
/* rgb */ color: rgb(63, 60, 186);
/* oklch */ color: oklch(44.5% 0.191 276.3);
Tailwind
colors: {
  custom: {
    50: '#8372d0',
    500: '#3f3cba',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cba;
$custom-light: #8372d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cba",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 241.429,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.19136,
    "h": 276.3
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#3F3CBA
secondary
#C6C88A
accent
#DB4DD7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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