#3F2EB8#3F2EB8

#3F2EB8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.204 H 278.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3F2EB8
RGBrgb(63, 46, 184)
HSLhsl(247, 60%, 45%)
HSVhsv(247, 75%, 72%)
CMYKcmyk(65.8%, 75%, 0%, 27.8%)
CIE-LABlab(30.57, 47.82, -69.75)
CIE-LCHlch(30.57, 84.57, 304.44°)
OKLaboklab(42.24% 0.0307 -0.2014)
OKLCHoklch(42.24% 0.204 278.7)
XYZxyz(11.6758, 6.4705, 45.9717)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EB8 #A7B82E
analogous
#2E62B8 #3F2EB8 #842EB8
triadic
#3F2EB8 #B83F2E #2EB83F
tetradic
#3F2EB8 #B82E62 #A7B82E #2EB884
square
#3F2EB8 #B82E62 #A7B82E #2EB884
split-complementary
#3F2EB8 #B8842E #62B82E
monochromatic
#1D1656 #2E2287 #3F2EB8 #6050D3 #8D81DF

Accessibility & contrast

On white

9.15
#3F2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3F2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EB8
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EB8#FFFFFF#000000##FFFFFF
##3F2EB81.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f2eb8;
/* rgb */ color: rgb(63, 46, 184);
/* oklch */ color: oklch(42.2% 0.204 278.7);
Tailwind
colors: {
  custom: {
    50: '#846acf',
    500: '#3f2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eb8;
$custom-light: #846acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eb8",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 247.391,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42236,
    "c": 0.20374,
    "h": 278.7
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#3F2EB8
secondary
#BFC879
accent
#E345D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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