#3D3FC3#3D3FC3

#3D3FC3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.200 H 274.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3D3FC3
RGBrgb(61, 63, 195)
HSLhsl(239, 53%, 50%)
HSVhsv(239, 69%, 76%)
CMYKcmyk(68.7%, 67.7%, 0%, 23.5%)
CIE-LABlab(34.98, 41.47, -68.98)
CIE-LCHlch(34.98, 80.49, 301.01°)
OKLaboklab(45.67% 0.0155 -0.1993)
OKLCHoklch(45.67% 0.2 274.4)
XYZxyz(13.5490, 8.4860, 52.5431)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FC3 #C3C13D
analogous
#3D82C3 #3D3FC3 #7E3DC3
triadic
#3D3FC3 #C33D3F #3FC33D
tetradic
#3D3FC3 #C33D82 #C3C13D #3DC37E
square
#3D3FC3 #C33D82 #C3C13D #3DC37E
split-complementary
#3D3FC3 #C37E3D #82C33D
monochromatic
#202166 #2E3095 #3D3FC3 #6C6DD1 #9A9CE0

Accessibility & contrast

On white

7.79
#3D3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3D3FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FC3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FC3#FFFFFF#000000##FFFFFF
##3D3FC31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d3fc3;
/* rgb */ color: rgb(61, 63, 195);
/* oklch */ color: oklch(45.7% 0.200 274.4);
Tailwind
colors: {
  custom: {
    50: '#8475d6',
    500: '#3d3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fc3;
$custom-light: #8475d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fc3",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 239.104,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.19989,
    "h": 274.4
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#3D3FC3
secondary
#CCCB90
accent
#DA4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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