#3F2EB3#3F2EB3

#3F2EB3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.198 H 279.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#3F2EB3
RGBrgb(63, 46, 179)
HSLhsl(248, 59%, 44%)
HSVhsv(248, 74%, 70%)
CMYKcmyk(64.8%, 74.3%, 0%, 29.8%)
CIE-LABlab(30.07, 46.27, -67.60)
CIE-LCHlch(30.07, 81.92, 304.39°)
OKLaboklab(41.73% 0.0318 -0.1951)
OKLCHoklch(41.73% 0.198 279.3)
XYZxyz(11.1610, 6.2645, 43.2601)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2EB3 #A2B32E
analogous
#2E60B3 #3F2EB3 #822EB3
triadic
#3F2EB3 #B33F2E #2EB33F
tetradic
#3F2EB3 #B32E60 #A2B32E #2EB382
square
#3F2EB3 #B32E60 #A2B32E #2EB382
split-complementary
#3F2EB3 #B3822E #60B32E
monochromatic
#1D1552 #2E2182 #3F2EB3 #5E4DD1 #8A7EDE

Accessibility & contrast

On white

9.32
#3F2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3F2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2EB3
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2EB3#FFFFFF#000000##FFFFFF
##3F2EB31.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2eb3;
/* rgb */ color: rgb(63, 46, 179);
/* oklch */ color: oklch(41.7% 0.198 279.3);
Tailwind
colors: {
  custom: {
    50: '#8369cb',
    500: '#3f2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2eb3;
$custom-light: #8369cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2eb3",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 247.669,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.19772,
    "h": 279.3
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#3F2EB3
secondary
#BCC676
accent
#E246CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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