#3F3BB2#3F3BB2

#3F3BB2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.182 H 277.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB2
RGBrgb(63, 59, 178)
HSLhsl(242, 50%, 46%)
HSVhsv(242, 67%, 70%)
CMYKcmyk(64.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(32.70, 38.45, -62.69)
CIE-LCHlch(32.70, 73.54, 301.52°)
OKLaboklab(43.59% 0.0228 -0.1808)
OKLCHoklch(43.59% 0.182 277.2)
XYZxyz(11.6471, 7.3981, 42.9250)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB2 #AEB23B
analogous
#3B73B2 #3F3BB2 #7B3BB2
triadic
#3F3BB2 #B23F3B #3BB23F
tetradic
#3F3BB2 #B23B73 #AEB23B #3BB27B
square
#3F3BB2 #B23B73 #AEB23B #3BB27B
split-complementary
#3F3BB2 #B27B3B #73B23B
monochromatic
#1E1D56 #2F2C84 #3F3BB2 #6460CA #908EDA

Accessibility & contrast

On white

8.47
#3F3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3F3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB2#FFFFFF#000000##FFFFFF
##3F3BB21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3bb2;
/* rgb */ color: rgb(63, 59, 178);
/* oklch */ color: oklch(43.6% 0.182 277.2);
Tailwind
colors: {
  custom: {
    50: '#8272ca',
    500: '#3f3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb2;
$custom-light: #8272ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb2",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 242.017,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.18224,
    "h": 277.2
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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