#3F3BB5#3F3BB5

#3F3BB5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.186 H 276.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB5
RGBrgb(63, 59, 181)
HSLhsl(242, 51%, 47%)
HSVhsv(242, 67%, 71%)
CMYKcmyk(65.2%, 67.4%, 0%, 29%)
CIE-LABlab(32.96, 39.45, -64.04)
CIE-LCHlch(32.96, 75.21, 301.64°)
OKLaboklab(43.86% 0.0224 -0.1847)
OKLCHoklch(43.86% 0.186 276.9)
XYZxyz(11.9516, 7.5199, 44.5288)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB5 #B1B53B
analogous
#3B74B5 #3F3BB5 #7C3BB5
triadic
#3F3BB5 #B53F3B #3BB53F
tetradic
#3F3BB5 #B53B74 #B1B53B #3BB57C
square
#3F3BB5 #B53B74 #B1B53B #3BB57C
split-complementary
#3F3BB5 #B57C3B #74B53B
monochromatic
#1F1D59 #2F2C87 #3F3BB5 #6562CC #9290DB

Accessibility & contrast

On white

8.39
#3F3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB5#FFFFFF#000000##FFFFFF
##3F3BB51.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3bb5;
/* rgb */ color: rgb(63, 59, 181);
/* oklch */ color: oklch(43.9% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#8372cc',
    500: '#3f3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb5;
$custom-light: #8372cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb5",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 241.967,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.1861,
    "h": 276.9
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#3F3BB5
secondary
#C4C686
accent
#DA4DD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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