#3F3ABA#3F3ABA

#3F3ABA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.2% C 0.194 H 276.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3F3ABA
RGBrgb(63, 58, 186)
HSLhsl(242, 52%, 48%)
HSVhsv(242, 69%, 73%)
CMYKcmyk(66.1%, 68.8%, 0%, 27.1%)
CIE-LABlab(33.19, 41.70, -66.61)
CIE-LCHlch(33.19, 78.59, 302.05°)
OKLaboklab(44.16% 0.0225 -0.1923)
OKLCHoklch(44.16% 0.194 276.7)
XYZxyz(12.4230, 7.6270, 47.2623)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ABA #B5BA3A
analogous
#3A75BA #3F3ABA #7F3ABA
triadic
#3F3ABA #BA3F3A #3ABA3F
tetradic
#3F3ABA #BA3A75 #B5BA3A #3ABA7F
square
#3F3ABA #BA3A75 #B5BA3A #3ABA7F
split-complementary
#3F3ABA #BA7F3A #75BA3A
monochromatic
#1F1D5D #2F2B8B #3F3ABA #6763CE #9492DD

Accessibility & contrast

On white

8.31
#3F3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3ABA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3ABA#FFFFFF#000000##FFFFFF
##3F3ABA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3aba;
/* rgb */ color: rgb(63, 58, 186);
/* oklch */ color: oklch(44.2% 0.194 276.7);
Tailwind
colors: {
  custom: {
    50: '#8471d0',
    500: '#3f3aba',
    950: '#000000',
  },
}
SCSS
$custom: #3f3aba;
$custom-light: #8471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3aba",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 242.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.19361,
    "h": 276.7
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#3F3ABA
secondary
#C5C888
accent
#DC4CD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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