#3D3EC2#3D3EC2

#3D3EC2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.200 H 274.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3D3EC2
RGBrgb(61, 62, 194)
HSLhsl(240, 52%, 50%)
HSVhsv(240, 69%, 76%)
CMYKcmyk(68.6%, 68%, 0%, 23.9%)
CIE-LABlab(34.66, 41.73, -68.91)
CIE-LCHlch(34.66, 80.56, 301.20°)
OKLaboklab(45.41% 0.0163 -0.1991)
OKLCHoklch(45.41% 0.2 274.7)
XYZxyz(13.3815, 8.3312, 51.9313)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EC2 #C2C13D
analogous
#3D80C2 #3D3EC2 #7F3DC2
triadic
#3D3EC2 #C23D3E #3EC23D
tetradic
#3D3EC2 #C23D80 #C2C13D #3DC27F
square
#3D3EC2 #C23D80 #C2C13D #3DC27F
split-complementary
#3D3EC2 #C27F3D #80C23D
monochromatic
#202065 #2E2F93 #3D3EC2 #6C6CD1 #9A9BDF

Accessibility & contrast

On white

7.88
#3D3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EC2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EC2#FFFFFF#000000##FFFFFF
##3D3EC21.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d3ec2;
/* rgb */ color: rgb(61, 62, 194);
/* oklch */ color: oklch(45.4% 0.200 274.7);
Tailwind
colors: {
  custom: {
    50: '#8474d6',
    500: '#3d3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ec2;
$custom-light: #8474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ec2",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 239.549,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.19973,
    "h": 274.7
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#3D3EC2
secondary
#CBCB90
accent
#DB4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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