#3D3EC4#3D3EC4

#3D3EC4 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.202 H 274.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3D3EC4
RGBrgb(61, 62, 196)
HSLhsl(240, 53%, 50%)
HSVhsv(240, 69%, 77%)
CMYKcmyk(68.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(34.85, 42.40, -69.78)
CIE-LCHlch(34.85, 81.66, 301.29°)
OKLaboklab(45.6% 0.016 -0.2016)
OKLCHoklch(45.6% 0.202 274.5)
XYZxyz(13.6076, 8.4216, 53.1223)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EC4 #C4C33D
analogous
#3D81C4 #3D3EC4 #803DC4
triadic
#3D3EC4 #C43D3E #3EC43D
tetradic
#3D3EC4 #C43D81 #C4C33D #3DC480
square
#3D3EC4 #C43D81 #C4C33D #3DC480
split-complementary
#3D3EC4 #C4803D #81C43D
monochromatic
#1F2067 #2E2E96 #3D3EC4 #6C6DD2 #9B9BE1

Accessibility & contrast

On white

7.82
#3D3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3D3EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EC4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EC4#FFFFFF#000000##FFFFFF
##3D3EC41.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d3ec4;
/* rgb */ color: rgb(61, 62, 196);
/* oklch */ color: oklch(45.6% 0.202 274.5);
Tailwind
colors: {
  custom: {
    50: '#8474d7',
    500: '#3d3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ec4;
$custom-light: #8474d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ec4",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 239.556,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.20226,
    "h": 274.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#3D3EC4
secondary
#CDCC90
accent
#DC4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3D3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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