#3F3ACC#3F3ACC

#3F3ACC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.216 H 275.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3F3ACC
RGBrgb(63, 58, 204)
HSLhsl(242, 59%, 51%)
HSVhsv(242, 72%, 80%)
CMYKcmyk(69.1%, 71.6%, 0%, 20%)
CIE-LABlab(34.89, 47.58, -74.38)
CIE-LCHlch(34.89, 88.29, 302.61°)
OKLaboklab(45.89% 0.0197 -0.215)
OKLCHoklch(45.89% 0.216 275.2)
XYZxyz(14.4584, 8.4412, 57.9824)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3ACC #C7CC3A
analogous
#3A7ECC #3F3ACC #883ACC
triadic
#3F3ACC #CC3F3A #3ACC3F
tetradic
#3F3ACC #CC3A7E #C7CC3A #3ACC88
square
#3F3ACC #CC3A7E #C7CC3A #3ACC88
split-complementary
#3F3ACC #CC883A #7ECC3A
monochromatic
#201D6F #2D29A0 #3F3ACC #6E6BD9 #9E9BE5

Accessibility & contrast

On white

7.81
#3F3ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F3ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3ACC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3ACC#FFFFFF#000000##FFFFFF
##3F3ACC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3acc;
/* rgb */ color: rgb(63, 58, 204);
/* oklch */ color: oklch(45.9% 0.216 275.2);
Tailwind
colors: {
  custom: {
    50: '#8772dd',
    500: '#3f3acc',
    950: '#000000',
  },
}
SCSS
$custom: #3f3acc;
$custom-light: #8772dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3acc",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 242.055,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.21588,
    "h": 275.2
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#3F3ACC
secondary
#CFD191
accent
#E246DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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