#3F2BAB#3F2BAB

#3F2BAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.191 H 280.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3F2BAB
RGBrgb(63, 43, 171)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(63.2%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.71, 45.39, -65.06)
CIE-LCHlch(28.71, 79.33, 304.90°)
OKLaboklab(40.53% 0.0356 -0.1877)
OKLCHoklch(40.53% 0.191 280.7)
XYZxyz(10.2621, 5.7240, 39.0842)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BAB #97AB2B
analogous
#2B57AB #3F2BAB #7F2BAB
triadic
#3F2BAB #AB3F2B #2BAB3F
tetradic
#3F2BAB #AB2B57 #97AB2B #2BAB7F
square
#3F2BAB #AB2B57 #97AB2B #2BAB7F
split-complementary
#3F2BAB #AB7F2B #57AB2B
monochromatic
#1B1249 #2D1F7A #3F2BAB #5943D0 #8574DC

Accessibility & contrast

On white

9.79
#3F2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2BAB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BAB#FFFFFF#000000##FFFFFF
##3F2BAB1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2bab;
/* rgb */ color: rgb(63, 43, 171);
/* oklch */ color: oklch(40.5% 0.191 280.7);
Tailwind
colors: {
  custom: {
    50: '#8267c5',
    500: '#3f2bab',
    950: '#000000',
  },
}
SCSS
$custom: #3f2bab;
$custom-light: #8267c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2bab",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 249.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.19105,
    "h": 280.7
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#3F2BAB
secondary
#B6C46E
accent
#E345CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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