#3F2FB9#3F2FB9

#3F2FB9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.204 H 278.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#3F2FB9
RGBrgb(63, 47, 185)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 75%, 73%)
CMYKcmyk(65.9%, 74.6%, 0%, 27.5%)
CIE-LABlab(30.86, 47.60, -69.86)
CIE-LCHlch(30.86, 84.54, 304.27°)
OKLaboklab(42.47% 0.0299 -0.2018)
OKLCHoklch(42.47% 0.204 278.4)
XYZxyz(11.8206, 6.5916, 46.5389)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FB9 #A9B92F
analogous
#2F64B9 #3F2FB9 #842FB9
triadic
#3F2FB9 #B93F2F #2FB93F
tetradic
#3F2FB9 #B92F64 #A9B92F #2FB984
square
#3F2FB9 #B92F64 #A9B92F #2FB984
split-complementary
#3F2FB9 #B9842F #64B92F
monochromatic
#1E1657 #2E2388 #3F2FB9 #6152D3 #8E83DF

Accessibility & contrast

On white

9.06
#3F2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3F2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FB9
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FB9#FFFFFF#000000##FFFFFF
##3F2FB91.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2fb9;
/* rgb */ color: rgb(63, 47, 185);
/* oklch */ color: oklch(42.5% 0.204 278.4);
Tailwind
colors: {
  custom: {
    50: '#846acf',
    500: '#3f2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fb9;
$custom-light: #846acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fb9",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 246.957,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.20396,
    "h": 278.4
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#3F2FB9
secondary
#C0C97B
accent
#E345D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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