#3F3BB1#3F3BB1

#3F3BB1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.181 H 277.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB1
RGBrgb(63, 59, 177)
HSLhsl(242, 50%, 46%)
HSVhsv(242, 67%, 69%)
CMYKcmyk(64.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(32.61, 38.12, -62.24)
CIE-LCHlch(32.61, 72.98, 301.48°)
OKLaboklab(43.49% 0.0229 -0.1795)
OKLCHoklch(43.49% 0.181 277.3)
XYZxyz(11.5471, 7.3581, 42.3982)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB1 #ADB13B
analogous
#3B72B1 #3F3BB1 #7A3BB1
triadic
#3F3BB1 #B13F3B #3BB13F
tetradic
#3F3BB1 #B13B72 #ADB13B #3BB17A
square
#3F3BB1 #B13B72 #ADB13B #3BB17A
split-complementary
#3F3BB1 #B17A3B #72B13B
monochromatic
#1E1C55 #2F2C83 #3F3BB1 #635FCA #908DD9

Accessibility & contrast

On white

8.50
#3F3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3F3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB1#FFFFFF#000000##FFFFFF
##3F3BB11.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f3bb1;
/* rgb */ color: rgb(63, 59, 177);
/* oklch */ color: oklch(43.5% 0.181 277.3);
Tailwind
colors: {
  custom: {
    50: '#8272c9',
    500: '#3f3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb1;
$custom-light: #8272c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb1",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 242.034,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.18094,
    "h": 277.3
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#3F3BB1
secondary
#C2C484
accent
#DA4ED5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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