#3F2CA2#3F2CA2

#3F2CA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.179 H 281.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA2
RGBrgb(63, 44, 162)
HSLhsl(250, 57%, 40%)
HSVhsv(250, 73%, 64%)
CMYKcmyk(61.1%, 72.8%, 0%, 36.5%)
CIE-LABlab(28.02, 42.04, -60.75)
CIE-LCHlch(28.02, 73.88, 304.68°)
OKLaboklab(39.78% 0.0369 -0.1751)
OKLCHoklch(39.78% 0.179 281.9)
XYZxyz(9.4701, 5.4661, 34.7314)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA2 #8FA22C
analogous
#2C54A2 #3F2CA2 #7A2CA2
triadic
#3F2CA2 #A23F2C #2CA23F
tetradic
#3F2CA2 #A22C54 #8FA22C #2CA27A
square
#3F2CA2 #A22C54 #8FA22C #2CA27A
split-complementary
#3F2CA2 #A27A2C #54A22C
monochromatic
#1A1242 #2C1F72 #3F2CA2 #5640CB #8170D8

Accessibility & contrast

On white

10.03
#3F2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA2
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA2#FFFFFF#000000##FFFFFF
##3F2CA21.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2ca2;
/* rgb */ color: rgb(63, 44, 162);
/* oklch */ color: oklch(39.8% 0.179 281.9);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3f2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca2;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca2",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 249.661,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.17895,
    "h": 281.9
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#3F2CA2
secondary
#B2BF6A
accent
#E147C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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