#3F3DA5#3F3DA5

#3F3DA5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.163 H 277.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3F3DA5
RGBrgb(63, 61, 165)
HSLhsl(241, 46%, 44%)
HSVhsv(241, 63%, 65%)
CMYKcmyk(61.8%, 63%, 0%, 35.3%)
CIE-LABlab(32.06, 32.83, -55.96)
CIE-LCHlch(32.06, 64.88, 300.40°)
OKLaboklab(42.78% 0.0222 -0.1611)
OKLCHoklch(42.78% 0.163 277.9)
XYZxyz(10.5080, 7.1101, 36.4087)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DA5 #A3A53D
analogous
#3D6FA5 #3F3DA5 #733DA5
triadic
#3F3DA5 #A53F3D #3DA53F
tetradic
#3F3DA5 #A53D6F #A3A53D #3DA573
square
#3F3DA5 #A53D6F #A3A53D #3DA573
split-complementary
#3F3DA5 #A5733D #6FA53D
monochromatic
#1D1C4C #2E2C78 #3F3DA5 #5E5CC3 #8A89D3

Accessibility & contrast

On white

8.67
#3F3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3F3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DA5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DA5#FFFFFF#000000##FFFFFF
##3F3DA51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f3da5;
/* rgb */ color: rgb(63, 61, 165);
/* oklch */ color: oklch(42.8% 0.163 277.9);
Tailwind
colors: {
  custom: {
    50: '#7f73c1',
    500: '#3f3da5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3da5;
$custom-light: #7f73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3da5",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 241.154,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.16259,
    "h": 277.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#3F3DA5
secondary
#BDBE80
accent
#D652D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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