#3F2FA3#3F2FA3

#3F2FA3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.177 H 281.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3F2FA3
RGBrgb(63, 47, 163)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 64%)
CMYKcmyk(61.3%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.73, 40.66, -60.20)
CIE-LCHlch(28.73, 72.64, 304.04°)
OKLaboklab(40.31% 0.0344 -0.1735)
OKLCHoklch(40.31% 0.177 281.2)
XYZxyz(9.6752, 5.7334, 35.2401)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FA3 #93A32F
analogous
#2F59A3 #3F2FA3 #792FA3
triadic
#3F2FA3 #A33F2F #2FA33F
tetradic
#3F2FA3 #A32F59 #93A32F #2FA379
square
#3F2FA3 #A32F59 #93A32F #2FA379
split-complementary
#3F2FA3 #A3792F #59A32F
monochromatic
#1A1444 #2D2173 #3F2FA3 #5846CA #8375D7

Accessibility & contrast

On white

9.78
#3F2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F2FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FA3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FA3#FFFFFF#000000##FFFFFF
##3F2FA31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2fa3;
/* rgb */ color: rgb(63, 47, 163);
/* oklch */ color: oklch(40.3% 0.177 281.2);
Tailwind
colors: {
  custom: {
    50: '#8069bf',
    500: '#3f2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fa3;
$custom-light: #8069bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fa3",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 248.276,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.17687,
    "h": 281.2
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#3F2FA3
secondary
#B4BF6F
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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