#3F31BE#3F31BE

#3F31BE is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.208 H 277.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F31BE
RGBrgb(63, 49, 190)
HSLhsl(246, 59%, 47%)
HSVhsv(246, 74%, 75%)
CMYKcmyk(66.8%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.74, 48.09, -71.37)
CIE-LCHlch(31.74, 86.06, 303.97°)
OKLaboklab(43.24% 0.0276 -0.2062)
OKLCHoklch(43.24% 0.208 277.6)
XYZxyz(12.4395, 6.9700, 49.3950)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F31BE #B0BE31
analogous
#316ABE #3F31BE #8531BE
triadic
#3F31BE #BE3F31 #31BE3F
tetradic
#3F31BE #BE316A #B0BE31 #31BE85
square
#3F31BE #BE316A #B0BE31 #31BE85
split-complementary
#3F31BE #BE8531 #6ABE31
monochromatic
#1F185D #2F248D #3F31BE #6558D4 #9289E1

Accessibility & contrast

On white

8.77
#3F31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F31BE
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F31BE#FFFFFF#000000##FFFFFF
##3F31BE1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0045BB
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f31be;
/* rgb */ color: rgb(63, 49, 190);
/* oklch */ color: oklch(43.2% 0.208 277.6);
Tailwind
colors: {
  custom: {
    50: '#856cd3',
    500: '#3f31be',
    950: '#000000',
  },
}
SCSS
$custom: #3f31be;
$custom-light: #856cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f31be",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 245.957,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.208,
    "h": 277.6
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#3F31BE
secondary
#C3CA80
accent
#E246D3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3F31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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