#3F2FA0#3F2FA0

#3F2FA0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.173 H 281.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3F2FA0
RGBrgb(63, 47, 160)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 63%)
CMYKcmyk(60.6%, 70.6%, 0%, 37.3%)
CIE-LABlab(28.45, 39.70, -58.83)
CIE-LCHlch(28.45, 70.98, 304.01°)
OKLaboklab(40.03% 0.0349 -0.1695)
OKLCHoklch(40.03% 0.173 281.6)
XYZxyz(9.4096, 5.6272, 33.8412)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FA0 #90A02F
analogous
#2F57A0 #3F2FA0 #772FA0
triadic
#3F2FA0 #A03F2F #2FA03F
tetradic
#3F2FA0 #A02F57 #90A02F #2FA077
square
#3F2FA0 #A02F57 #90A02F #2FA077
split-complementary
#3F2FA0 #A0772F #57A02F
monochromatic
#1A1341 #2C2171 #3F2FA0 #5744C8 #8173D6

Accessibility & contrast

On white

9.88
#3F2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F2FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FA0
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FA0#FFFFFF#000000##FFFFFF
##3F2FA01.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2fa0;
/* rgb */ color: rgb(63, 47, 160);
/* oklch */ color: oklch(40.0% 0.173 281.6);
Tailwind
colors: {
  custom: {
    50: '#7f69bd',
    500: '#3f2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fa0;
$custom-light: #7f69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fa0",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 248.496,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.17307,
    "h": 281.6
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#3F2FA0
secondary
#B2BE6D
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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