#3F2BA9#3F2BA9

#3F2BA9 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.189 H 281.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3F2BA9
RGBrgb(63, 43, 169)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 75%, 66%)
CMYKcmyk(62.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(28.51, 44.77, -64.18)
CIE-LCHlch(28.51, 78.26, 304.90°)
OKLaboklab(40.33% 0.0361 -0.1851)
OKLCHoklch(40.33% 0.189 281)
XYZxyz(10.0730, 5.6483, 38.0879)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BA9 #95A92B
analogous
#2B56A9 #3F2BA9 #7E2BA9
triadic
#3F2BA9 #A93F2B #2BA93F
tetradic
#3F2BA9 #A92B56 #95A92B #2BA97E
square
#3F2BA9 #A92B56 #95A92B #2BA97E
split-complementary
#3F2BA9 #A97E2B #56A92B
monochromatic
#1B1247 #2D1F78 #3F2BA9 #5942CF #8473DB

Accessibility & contrast

On white

9.86
#3F2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BA9
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BA9#FFFFFF#000000##FFFFFF
##3F2BA91.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2ba9;
/* rgb */ color: rgb(63, 43, 169);
/* oklch */ color: oklch(40.3% 0.189 281.0);
Tailwind
colors: {
  custom: {
    50: '#8167c4',
    500: '#3f2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ba9;
$custom-light: #8167c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ba9",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 249.524,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.18862,
    "h": 281
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#3F2BA9
secondary
#B5C36D
accent
#E345CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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