#3F2FA8#3F2FA8

#3F2FA8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.183 H 280.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3F2FA8
RGBrgb(63, 47, 168)
HSLhsl(248, 56%, 42%)
HSVhsv(248, 72%, 66%)
CMYKcmyk(62.5%, 72%, 0%, 34.1%)
CIE-LABlab(29.20, 42.25, -62.44)
CIE-LCHlch(29.20, 75.39, 304.08°)
OKLaboklab(40.79% 0.0334 -0.1801)
OKLCHoklch(40.79% 0.183 280.5)
XYZxyz(10.1321, 5.9162, 37.6462)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FA8 #98A82F
analogous
#2F5CA8 #3F2FA8 #7C2FA8
triadic
#3F2FA8 #A83F2F #2FA83F
tetradic
#3F2FA8 #A82F5C #98A82F #2FA87C
square
#3F2FA8 #A82F5C #98A82F #2FA87C
split-complementary
#3F2FA8 #A87C2F #5CA82F
monochromatic
#1B1448 #2D2278 #3F2FA8 #5A48CC #8578D9

Accessibility & contrast

On white

9.62
#3F2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3F2FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FA8
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FA8#FFFFFF#000000##FFFFFF
##3F2FA81.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2fa8;
/* rgb */ color: rgb(63, 47, 168);
/* oklch */ color: oklch(40.8% 0.183 280.5);
Tailwind
colors: {
  custom: {
    50: '#8169c3',
    500: '#3f2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2fa8;
$custom-light: #8169c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2fa8",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 247.934,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.18315,
    "h": 280.5
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#3F2FA8
secondary
#B7C171
accent
#E048CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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