#3F3AA5#3F3AA5

#3F3AA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.166 H 278.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3F3AA5
RGBrgb(63, 58, 165)
HSLhsl(243, 48%, 44%)
HSVhsv(243, 65%, 65%)
CMYKcmyk(61.8%, 64.8%, 0%, 35.3%)
CIE-LABlab(31.34, 34.71, -57.12)
CIE-LCHlch(31.34, 66.84, 301.29°)
OKLaboklab(42.26% 0.0249 -0.1645)
OKLCHoklch(42.26% 0.166 278.6)
XYZxyz(10.3523, 6.7987, 36.3568)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AA5 #A0A53A
analogous
#3A6AA5 #3F3AA5 #743AA5
triadic
#3F3AA5 #A53F3A #3AA53F
tetradic
#3F3AA5 #A53A6A #A0A53A #3AA574
square
#3F3AA5 #A53A6A #A0A53A #3AA574
split-complementary
#3F3AA5 #A5743A #6AA53A
monochromatic
#1C1A4A #2E2A78 #3F3AA5 #5D58C4 #8985D4

Accessibility & contrast

On white

8.90
#3F3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3F3AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AA5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AA5#FFFFFF#000000##FFFFFF
##3F3AA51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f3aa5;
/* rgb */ color: rgb(63, 58, 165);
/* oklch */ color: oklch(42.3% 0.166 278.6);
Tailwind
colors: {
  custom: {
    50: '#7f71c1',
    500: '#3f3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3aa5;
$custom-light: #7f71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3aa5",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 242.804,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.16637,
    "h": 278.6
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#3F3AA5
secondary
#BBBE7D
accent
#D850D1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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