#3D3FC2#3D3FC2

#3D3FC2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.199 H 274.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3D3FC2
RGBrgb(61, 63, 194)
HSLhsl(239, 52%, 50%)
HSVhsv(239, 69%, 76%)
CMYKcmyk(68.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.88, 41.14, -68.55)
CIE-LCHlch(34.88, 79.94, 300.97°)
OKLaboklab(45.57% 0.0156 -0.198)
OKLCHoklch(45.57% 0.199 274.5)
XYZxyz(13.4364, 8.4409, 51.9496)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FC2 #C2C03D
analogous
#3D81C2 #3D3FC2 #7E3DC2
triadic
#3D3FC2 #C23D3F #3FC23D
tetradic
#3D3FC2 #C23D81 #C2C03D #3DC27E
square
#3D3FC2 #C23D81 #C2C03D #3DC27E
split-complementary
#3D3FC2 #C27E3D #81C23D
monochromatic
#202165 #2E3093 #3D3FC2 #6C6DD1 #9A9BDF

Accessibility & contrast

On white

7.81
#3D3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3D3FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FC2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FC2#FFFFFF#000000##FFFFFF
##3D3FC21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d3fc2;
/* rgb */ color: rgb(61, 63, 194);
/* oklch */ color: oklch(45.6% 0.199 274.5);
Tailwind
colors: {
  custom: {
    50: '#8475d6',
    500: '#3d3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fc2;
$custom-light: #8475d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fc2",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 239.098,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.19862,
    "h": 274.5
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#3D3FC2
secondary
#CBCA90
accent
#D94CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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