#3F2AA9#3F2AA9

#3F2AA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.190 H 281.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3F2AA9
RGBrgb(63, 42, 169)
HSLhsl(250, 60%, 41%)
HSVhsv(250, 75%, 66%)
CMYKcmyk(62.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(28.32, 45.31, -64.50)
CIE-LCHlch(28.32, 78.82, 305.09°)
OKLaboklab(40.2% 0.0368 -0.186)
OKLCHoklch(40.2% 0.19 281.2)
XYZxyz(10.0370, 5.5765, 38.0759)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AA9 #94A92A
analogous
#2A55A9 #3F2AA9 #7F2AA9
triadic
#3F2AA9 #A93F2A #2AA93F
tetradic
#3F2AA9 #A92A55 #94A92A #2AA97F
square
#3F2AA9 #A92A55 #94A92A #2AA97F
split-complementary
#3F2AA9 #A97F2A #55A92A
monochromatic
#1A1247 #2D1E78 #3F2AA9 #5841D0 #8372DC

Accessibility & contrast

On white

9.93
#3F2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2AA9
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AA9#FFFFFF#000000##FFFFFF
##3F2AA91.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2aa9;
/* rgb */ color: rgb(63, 42, 169);
/* oklch */ color: oklch(40.2% 0.190 281.2);
Tailwind
colors: {
  custom: {
    50: '#8266c4',
    500: '#3f2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2aa9;
$custom-light: #8266c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2aa9",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 249.921,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.18964,
    "h": 281.2
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#3F2AA9
secondary
#B5C36C
accent
#E344C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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