#3F2DA8#3F2DA8

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

Color values

HEX#3F2DA8
RGBrgb(63, 45, 168)
HSLhsl(249, 58%, 42%)
HSVhsv(249, 73%, 66%)
CMYKcmyk(62.5%, 73.2%, 0%, 34.1%)
CIE-LABlab(28.80, 43.37, -63.10)
CIE-LCHlch(28.80, 76.57, 304.50°)
OKLaboklab(40.51% 0.0349 -0.182)
OKLCHoklch(40.51% 0.185 280.9)
XYZxyz(10.0539, 5.7599, 37.6202)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DA8 #96A82D
analogous
#2D59A8 #3F2DA8 #7C2DA8
triadic
#3F2DA8 #A83F2D #2DA83F
tetradic
#3F2DA8 #A82D59 #96A82D #2DA87C
square
#3F2DA8 #A82D59 #96A82D #2DA87C
split-complementary
#3F2DA8 #A87C2D #59A82D
monochromatic
#1B1347 #2D2078 #3F2DA8 #5945CD #8475DA

Accessibility & contrast

On white

9.76
#3F2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F2DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DA8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DA8#FFFFFF#000000##FFFFFF
##3F2DA81.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2da8;
/* rgb */ color: rgb(63, 45, 168);
/* oklch */ color: oklch(40.5% 0.185 280.9);
Tailwind
colors: {
  custom: {
    50: '#8168c3',
    500: '#3f2da8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2da8;
$custom-light: #8168c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2da8",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 248.78,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40507,
    "c": 0.1853,
    "h": 280.9
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#3F2DA8
secondary
#B6C26F
accent
#E147CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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