#3F31BD#3F31BD

#3F31BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.207 H 277.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3F31BD
RGBrgb(63, 49, 189)
HSLhsl(246, 59%, 47%)
HSVhsv(246, 74%, 74%)
CMYKcmyk(66.7%, 74.1%, 0%, 25.9%)
CIE-LABlab(31.64, 47.77, -70.94)
CIE-LCHlch(31.64, 85.53, 303.96°)
OKLaboklab(43.14% 0.0278 -0.2049)
OKLCHoklch(43.14% 0.207 277.7)
XYZxyz(12.3305, 6.9265, 48.8214)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F31BD #AFBD31
analogous
#3169BD #3F31BD #8531BD
triadic
#3F31BD #BD3F31 #31BD3F
tetradic
#3F31BD #BD3169 #AFBD31 #31BD85
square
#3F31BD #BD3169 #AFBD31 #31BD85
split-complementary
#3F31BD #BD8531 #69BD31
monochromatic
#1F185C #2F248C #3F31BD #6458D4 #9188E0

Accessibility & contrast

On white

8.80
#3F31BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F31BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F31BD
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F31BD#FFFFFF#000000##FFFFFF
##3F31BD1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f31bd;
/* rgb */ color: rgb(63, 49, 189);
/* oklch */ color: oklch(43.1% 0.207 277.7);
Tailwind
colors: {
  custom: {
    50: '#856cd2',
    500: '#3f31bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f31bd;
$custom-light: #856cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f31bd",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 246,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.20679,
    "h": 277.7
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#3F31BD
secondary
#C3CA80
accent
#E246D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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