#3F2FBA#3F2FBA

#3F2FBA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.205 H 278.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3F2FBA
RGBrgb(63, 47, 186)
HSLhsl(247, 60%, 46%)
HSVhsv(247, 75%, 73%)
CMYKcmyk(66.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(30.96, 47.91, -70.29)
CIE-LCHlch(30.96, 85.07, 304.28°)
OKLaboklab(42.57% 0.0297 -0.203)
OKLCHoklch(42.57% 0.205 278.3)
XYZxyz(11.9265, 6.6340, 47.0968)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FBA #AABA2F
analogous
#2F65BA #3F2FBA #842FBA
triadic
#3F2FBA #BA3F2F #2FBA3F
tetradic
#3F2FBA #BA2F65 #AABA2F #2FBA84
square
#3F2FBA #BA2F65 #AABA2F #2FBA84
split-complementary
#3F2FBA #BA842F #65BA2F
monochromatic
#1E1658 #2E2389 #3F2FBA #6253D3 #8E84E0

Accessibility & contrast

On white

9.02
#3F2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3F2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FBA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FBA#FFFFFF#000000##FFFFFF
##3F2FBA1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f2fba;
/* rgb */ color: rgb(63, 47, 186);
/* oklch */ color: oklch(42.6% 0.205 278.3);
Tailwind
colors: {
  custom: {
    50: '#856ad0',
    500: '#3f2fba',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fba;
$custom-light: #856ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fba",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 246.906,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.20515,
    "h": 278.3
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#3F2FBA
secondary
#C0C97C
accent
#E345D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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