#3F3DA3#3F3DA3

#3F3DA3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.160 H 278.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3F3DA3
RGBrgb(63, 61, 163)
HSLhsl(241, 46%, 44%)
HSVhsv(241, 63%, 64%)
CMYKcmyk(61.3%, 62.6%, 0%, 36.1%)
CIE-LABlab(31.89, 32.16, -55.02)
CIE-LCHlch(31.89, 63.73, 300.30°)
OKLaboklab(42.61% 0.0224 -0.1583)
OKLCHoklch(42.61% 0.16 278)
XYZxyz(10.3274, 7.0378, 35.4574)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DA3 #A1A33D
analogous
#3D6EA3 #3F3DA3 #723DA3
triadic
#3F3DA3 #A33F3D #3DA33F
tetradic
#3F3DA3 #A33D6E #A1A33D #3DA372
square
#3F3DA3 #A33D6E #A1A33D #3DA372
split-complementary
#3F3DA3 #A3723D #6EA33D
monochromatic
#1D1C4A #2E2C76 #3F3DA3 #5D5BC2 #8988D2

Accessibility & contrast

On white

8.72
#3F3DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F3DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DA3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DA3#FFFFFF#000000##FFFFFF
##3F3DA31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f3da3;
/* rgb */ color: rgb(63, 61, 163);
/* oklch */ color: oklch(42.6% 0.160 278.0);
Tailwind
colors: {
  custom: {
    50: '#7f73bf',
    500: '#3f3da3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3da3;
$custom-light: #7f73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3da3",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 241.176,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.15988,
    "h": 278
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#3F3DA3
secondary
#BCBD7F
accent
#D553D3
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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