#3F2FC8#3F2FC8

#3F2FC8 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.222 H 276.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3F2FC8
RGBrgb(63, 47, 200)
HSLhsl(246, 62%, 48%)
HSVhsv(246, 77%, 78%)
CMYKcmyk(68.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(32.39, 52.23, -76.16)
CIE-LCHlch(32.39, 92.35, 304.44°)
OKLaboklab(44% 0.0264 -0.2201)
OKLCHoklch(44% 0.222 276.8)
XYZxyz(13.4883, 7.2587, 55.3226)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FC8 #B8C82F
analogous
#2F6BC8 #3F2FC8 #8C2FC8
triadic
#3F2FC8 #C83F2F #2FC83F
tetradic
#3F2FC8 #C82F6B #B8C82F #2FC88C
square
#3F2FC8 #C82F6B #B8C82F #2FC88C
split-complementary
#3F2FC8 #C88C2F #6BC82F
monochromatic
#201865 #2F2396 #3F2FC8 #695CD9 #968DE4

Accessibility & contrast

On white

8.56
#3F2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3F2FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FC8
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FC8#FFFFFF#000000##FFFFFF
##3F2FC81.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0046C5
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f2fc8;
/* rgb */ color: rgb(63, 47, 200);
/* oklch */ color: oklch(44.0% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#876bda',
    500: '#3f2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fc8;
$custom-light: #876bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fc8",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 246.275,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.22169,
    "h": 276.8
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#3F2FC8
secondary
#C7CF84
accent
#E543D4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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