#3F3AB2#3F3AB2

#3F3AB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.183 H 277.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3F3AB2
RGBrgb(63, 58, 178)
HSLhsl(243, 51%, 46%)
HSVhsv(243, 67%, 70%)
CMYKcmyk(64.6%, 67.4%, 0%, 30.2%)
CIE-LABlab(32.47, 39.06, -63.06)
CIE-LCHlch(32.47, 74.17, 301.77°)
OKLaboklab(43.42% 0.0235 -0.1819)
OKLCHoklch(43.42% 0.183 277.4)
XYZxyz(11.5962, 7.2963, 42.9081)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AB2 #ADB23A
analogous
#3A71B2 #3F3AB2 #7B3AB2
triadic
#3F3AB2 #B23F3A #3AB23F
tetradic
#3F3AB2 #B23A71 #ADB23A #3AB27B
square
#3F3AB2 #B23A71 #ADB23A #3AB27B
split-complementary
#3F3AB2 #B27B3A #71B23A
monochromatic
#1E1C56 #2F2B84 #3F3AB2 #635FCB #908DDA

Accessibility & contrast

On white

8.54
#3F3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AB2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AB2#FFFFFF#000000##FFFFFF
##3F3AB21.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3ab2;
/* rgb */ color: rgb(63, 58, 178);
/* oklch */ color: oklch(43.4% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#8271ca',
    500: '#3f3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ab2;
$custom-light: #8271ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ab2",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 242.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43423,
    "c": 0.18341,
    "h": 277.4
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#3F3AB2
secondary
#C2C483
accent
#DA4DD4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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