#3F31BF#3F31BF

#3F31BF is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.209 H 277.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3F31BF
RGBrgb(63, 49, 191)
HSLhsl(246, 59%, 47%)
HSVhsv(246, 74%, 75%)
CMYKcmyk(67%, 74.3%, 0%, 25.1%)
CIE-LABlab(31.84, 48.40, -71.79)
CIE-LCHlch(31.84, 86.58, 303.99°)
OKLaboklab(43.34% 0.0274 -0.2074)
OKLCHoklch(43.34% 0.209 277.5)
XYZxyz(12.5491, 7.0139, 49.9726)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F31BF #B1BF31
analogous
#316ABF #3F31BF #8631BF
triadic
#3F31BF #BF3F31 #31BF3F
tetradic
#3F31BF #BF316A #B1BF31 #31BF86
square
#3F31BF #BF316A #B1BF31 #31BF86
split-complementary
#3F31BF #BF8631 #6ABF31
monochromatic
#1F185E #2F258E #3F31BF #6559D4 #928AE1

Accessibility & contrast

On white

8.74
#3F31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F31BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F31BF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F31BF#FFFFFF#000000##FFFFFF
##3F31BF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f31bf;
/* rgb */ color: rgb(63, 49, 191);
/* oklch */ color: oklch(43.3% 0.209 277.5);
Tailwind
colors: {
  custom: {
    50: '#856cd4',
    500: '#3f31bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f31bf;
$custom-light: #856cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f31bf",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 245.915,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43342,
    "c": 0.20919,
    "h": 277.5
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#3F31BF
secondary
#C4CB81
accent
#E245D3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3F31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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