#3F2FAB#3F2FAB

#3F2FAB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.187 H 280.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3F2FAB
RGBrgb(63, 47, 171)
HSLhsl(248, 57%, 43%)
HSVhsv(248, 73%, 67%)
CMYKcmyk(63.2%, 72.5%, 0%, 32.9%)
CIE-LABlab(29.49, 43.20, -63.78)
CIE-LCHlch(29.49, 77.03, 304.11°)
OKLaboklab(41.08% 0.0328 -0.184)
OKLCHoklch(41.08% 0.187 280.1)
XYZxyz(10.4148, 6.0293, 39.1351)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FAB #9BAB2F
analogous
#2F5DAB #3F2FAB #7D2FAB
triadic
#3F2FAB #AB3F2F #2FAB3F
tetradic
#3F2FAB #AB2F5D #9BAB2F #2FAB7D
square
#3F2FAB #AB2F5D #9BAB2F #2FAB7D
split-complementary
#3F2FAB #AB7D2F #5DAB2F
monochromatic
#1C154B #2D227B #3F2FAB #5B4ACD #867ADA

Accessibility & contrast

On white

9.52
#3F2FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F2FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FAB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FAB#FFFFFF#000000##FFFFFF
##3F2FAB1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2fab;
/* rgb */ color: rgb(63, 47, 171);
/* oklch */ color: oklch(41.1% 0.187 280.1);
Tailwind
colors: {
  custom: {
    50: '#826ac5',
    500: '#3f2fab',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fab;
$custom-light: #826ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fab",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 247.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.18688,
    "h": 280.1
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#3F2FAB
secondary
#B8C373
accent
#E048CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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