#3F29C5#3F29C5

#3F29C5 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.0% C 0.223 H 277.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3F29C5
RGBrgb(63, 41, 197)
HSLhsl(248, 66%, 47%)
HSVhsv(248, 79%, 77%)
CMYKcmyk(68%, 79.2%, 0%, 22.7%)
CIE-LABlab(31.05, 54.27, -76.62)
CIE-LCHlch(31.05, 93.89, 305.31°)
OKLaboklab(42.97% 0.0301 -0.2214)
OKLCHoklch(42.97% 0.223 277.7)
XYZxyz(12.9176, 6.6727, 53.4197)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29C5 #AFC529
analogous
#2961C5 #3F29C5 #8D29C5
triadic
#3F29C5 #C53F29 #29C53F
tetradic
#3F29C5 #C52961 #AFC529 #29C58D
square
#3F29C5 #C52961 #AFC529 #29C58D
split-complementary
#3F29C5 #C58D29 #61C529
monochromatic
#1F1460 #2F1E92 #3F29C5 #6451DB #9183E5

Accessibility & contrast

On white

8.99
#3F29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3F29C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29C5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29C5#FFFFFF#000000##FFFFFF
##3F29C51.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0043C2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f29c5;
/* rgb */ color: rgb(63, 41, 197);
/* oklch */ color: oklch(43.0% 0.223 277.7);
Tailwind
colors: {
  custom: {
    50: '#8767d8',
    500: '#3f29c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f29c5;
$custom-light: #8767d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29c5",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 248.462,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.2234,
    "h": 277.7
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#3F29C5
secondary
#C3CE7C
accent
#E83FD1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3F29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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