#3D3FD6#3D3FD6

#3D3FD6 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.223 H 273.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3D3FD6
RGBrgb(61, 63, 214)
HSLhsl(239, 65%, 54%)
HSVhsv(239, 71%, 84%)
CMYKcmyk(71.5%, 70.6%, 0%, 16.1%)
CIE-LABlab(36.74, 47.78, -77.10)
CIE-LCHlch(36.74, 90.71, 301.79°)
OKLaboklab(47.48% 0.013 -0.223)
OKLCHoklch(47.48% 0.223 273.3)
XYZxyz(15.8355, 9.4006, 64.5852)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FD6 #D6D43D
analogous
#3D8CD6 #3D3FD6 #883DD6
triadic
#3D3FD6 #D63D3F #3FD63D
tetradic
#3D3FD6 #D63D8C #D6D43D #3DD688
square
#3D3FD6 #D63D8C #D6D43D #3DD688
split-complementary
#3D3FD6 #D6883D #8CD63D
monochromatic
#1B1C7E #2527B1 #3D3FD6 #7071E1 #A2A3EB

Accessibility & contrast

On white

7.29
#3D3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3D3FD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FD6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FD6#FFFFFF#000000##FFFFFF
##3D3FD61.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#004FD3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d3fd6;
/* rgb */ color: rgb(61, 63, 214);
/* oklch */ color: oklch(47.5% 0.223 273.3);
Tailwind
colors: {
  custom: {
    50: '#8875e4',
    500: '#3d3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fd6;
$custom-light: #8875e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fd6",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 239.216,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.22339,
    "h": 273.3
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#3D3FD6
secondary
#D8D797
accent
#E640E8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3D3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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