#3F2CA9#3F2CA9

#3F2CA9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.188 H 280.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA9
RGBrgb(63, 44, 169)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 74%, 66%)
CMYKcmyk(62.7%, 74%, 0%, 33.7%)
CIE-LABlab(28.70, 44.23, -63.87)
CIE-LCHlch(28.70, 77.69, 304.71°)
OKLaboklab(40.47% 0.0354 -0.1842)
OKLCHoklch(40.47% 0.188 280.9)
XYZxyz(10.1098, 5.7219, 38.1001)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA9 #96A92C
analogous
#2C58A9 #3F2CA9 #7E2CA9
triadic
#3F2CA9 #A93F2C #2CA93F
tetradic
#3F2CA9 #A92C58 #96A92C #2CA97E
square
#3F2CA9 #A92C58 #96A92C #2CA97E
split-complementary
#3F2CA9 #A97E2C #58A92C
monochromatic
#1B1348 #2D1F78 #3F2CA9 #5944CE #8474DB

Accessibility & contrast

On white

9.79
#3F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA9
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA9#FFFFFF#000000##FFFFFF
##3F2CA91.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f2ca9;
/* rgb */ color: rgb(63, 44, 169);
/* oklch */ color: oklch(40.5% 0.188 280.9);
Tailwind
colors: {
  custom: {
    50: '#8168c4',
    500: '#3f2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca9;
$custom-light: #8168c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca9",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 249.12,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.18759,
    "h": 280.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#3F2CA9
secondary
#B6C36E
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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