#3F2DA5#3F2DA5

#3F2DA5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.182 H 281.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3F2DA5
RGBrgb(63, 45, 165)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 73%, 65%)
CMYKcmyk(61.8%, 72.7%, 0%, 35.3%)
CIE-LABlab(28.51, 42.43, -61.77)
CIE-LCHlch(28.51, 74.93, 304.48°)
OKLaboklab(40.22% 0.0355 -0.1781)
OKLCHoklch(40.22% 0.182 281.3)
XYZxyz(9.7777, 5.6494, 36.1652)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DA5 #93A52D
analogous
#2D57A5 #3F2DA5 #7B2DA5
triadic
#3F2DA5 #A53F2D #2DA53F
tetradic
#3F2DA5 #A52D57 #93A52D #2DA57B
square
#3F2DA5 #A52D57 #93A52D #2DA57B
split-complementary
#3F2DA5 #A57B2D #57A52D
monochromatic
#1A1345 #2D2075 #3F2DA5 #5843CC #8373D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2DA5#FFFFFF#000000##FFFFFF
##3F2DA51.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)
#0047A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2da5;
/* rgb */ color: rgb(63, 45, 165);
/* oklch */ color: oklch(40.2% 0.182 281.3);
Tailwind
colors: {
  custom: {
    50: '#8168c1',
    500: '#3f2da5',
    950: '#000000',
  },
}
SCSS
$custom: #3f2da5;
$custom-light: #8168c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2da5",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 249,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40215,
    "c": 0.1816,
    "h": 281.3
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#3F2DA5
secondary
#B4C16D
accent
#E047C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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