#3F2BA5#3F2BA5

#3F2BA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.184 H 281.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3F2BA5
RGBrgb(63, 43, 165)
HSLhsl(250, 59%, 41%)
HSVhsv(250, 74%, 65%)
CMYKcmyk(61.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(28.12, 43.53, -62.41)
CIE-LCHlch(28.12, 76.10, 304.89°)
OKLaboklab(39.93% 0.037 -0.18)
OKLCHoklch(39.93% 0.184 281.6)
XYZxyz(9.7032, 5.5004, 36.1404)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BA5 #91A52B
analogous
#2B54A5 #3F2BA5 #7C2BA5
triadic
#3F2BA5 #A53F2B #2BA53F
tetradic
#3F2BA5 #A52B54 #91A52B #2BA57C
square
#3F2BA5 #A52B54 #91A52B #2BA57C
split-complementary
#3F2BA5 #A57C2B #54A52B
monochromatic
#1A1244 #2C1E74 #3F2BA5 #5740CD #8271DA

Accessibility & contrast

On white

10.00
#3F2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BA5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BA5#FFFFFF#000000##FFFFFF
##3F2BA51.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2ba5;
/* rgb */ color: rgb(63, 43, 165);
/* oklch */ color: oklch(39.9% 0.184 281.6);
Tailwind
colors: {
  custom: {
    50: '#8167c1',
    500: '#3f2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ba5;
$custom-light: #8167c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ba5",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 249.836,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.18374,
    "h": 281.6
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#3F2BA5
secondary
#B3C16B
accent
#E246C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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