#3F3AD9#3F3AD9

#3F3AD9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.231 H 274.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3F3AD9
RGBrgb(63, 58, 217)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 73%, 85%)
CMYKcmyk(71%, 73.3%, 0%, 14.9%)
CIE-LABlab(36.16, 51.73, -79.79)
CIE-LCHlch(36.16, 95.09, 302.96°)
OKLaboklab(47.18% 0.0174 -0.2308)
OKLCHoklch(47.18% 0.231 274.3)
XYZxyz(16.0832, 9.0911, 66.5393)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AD9 #D4D93A
analogous
#3A85D9 #3F3AD9 #8F3AD9
triadic
#3F3AD9 #D93F3A #3AD93F
tetradic
#3F3AD9 #D93A85 #D4D93A #3AD98F
square
#3F3AD9 #D93A85 #D4D93A #3AD98F
split-complementary
#3F3AD9 #D98F3A #85D93A
monochromatic
#1C1980 #2723B3 #3F3AD9 #716DE3 #A3A1ED

Accessibility & contrast

On white

7.45
#3F3AD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3F3AD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AD9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AD9#FFFFFF#000000##FFFFFF
##3F3AD91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#004ED6
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f3ad9;
/* rgb */ color: rgb(63, 58, 217);
/* oklch */ color: oklch(47.2% 0.231 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a72e6',
    500: '#3f3ad9',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ad9;
$custom-light: #8a72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ad9",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 241.887,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.23142,
    "h": 274.3
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#3F3AD9
secondary
#D7D995
accent
#EB3DE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3F3AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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