#3F3BAD#3F3BAD

#3F3BAD is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.176 H 277.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3F3BAD
RGBrgb(63, 59, 173)
HSLhsl(242, 49%, 45%)
HSVhsv(242, 66%, 68%)
CMYKcmyk(63.6%, 65.9%, 0%, 32.2%)
CIE-LABlab(32.26, 36.78, -60.42)
CIE-LCHlch(32.26, 70.74, 301.33°)
OKLaboklab(43.13% 0.0233 -0.1742)
OKLCHoklch(43.13% 0.176 277.6)
XYZxyz(11.1543, 7.2009, 40.3292)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BAD #A9AD3B
analogous
#3B70AD #3F3BAD #783BAD
triadic
#3F3BAD #AD3F3B #3BAD3F
tetradic
#3F3BAD #AD3B70 #A9AD3B #3BAD78
square
#3F3BAD #AD3B70 #A9AD3B #3BAD78
split-complementary
#3F3BAD #AD783B #70AD3B
monochromatic
#1E1C52 #2E2B7F #3F3BAD #615DC8 #8E8BD7

Accessibility & contrast

On white

8.61
#3F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BAD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BAD#FFFFFF#000000##FFFFFF
##3F3BAD1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3bad;
/* rgb */ color: rgb(63, 59, 173);
/* oklch */ color: oklch(43.1% 0.176 277.6);
Tailwind
colors: {
  custom: {
    50: '#8171c6',
    500: '#3f3bad',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bad;
$custom-light: #8171c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bad",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 242.105,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.17572,
    "h": 277.6
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#3F3BAD
secondary
#C0C282
accent
#D94FD4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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