#3F3AAA#3F3AAA

#3F3AAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.173 H 278.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3F3AAA
RGBrgb(63, 58, 170)
HSLhsl(243, 49%, 45%)
HSVhsv(243, 66%, 67%)
CMYKcmyk(62.9%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.77, 36.39, -59.43)
CIE-LCHlch(31.77, 69.68, 301.48°)
OKLaboklab(42.7% 0.0244 -0.1713)
OKLCHoklch(42.7% 0.173 278.1)
XYZxyz(10.8163, 6.9843, 38.8005)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AAA #A5AA3A
analogous
#3A6DAA #3F3AAA #773AAA
triadic
#3F3AAA #AA3F3A #3AAA3F
tetradic
#3F3AAA #AA3A6D #A5AA3A #3AAA77
square
#3F3AAA #AA3A6D #A5AA3A #3AAA77
split-complementary
#3F3AAA #AA773A #6DAA3A
monochromatic
#1D1B4F #2E2A7C #3F3AAA #5F5AC7 #8C88D6

Accessibility & contrast

On white

8.76
#3F3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AAA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AAA#FFFFFF#000000##FFFFFF
##3F3AAA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f3aaa;
/* rgb */ color: rgb(63, 58, 170);
/* oklch */ color: oklch(42.7% 0.173 278.1);
Tailwind
colors: {
  custom: {
    50: '#8071c4',
    500: '#3f3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3f3aaa;
$custom-light: #8071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3aaa",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 242.679,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.17299,
    "h": 278.1
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#3F3AAA
secondary
#BEC17F
accent
#D94FD3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3F3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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