#3D4EC4#3D4EC4

#3D4EC4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.184 H 271.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3D4EC4
RGBrgb(61, 78, 196)
HSLhsl(232, 53%, 50%)
HSVhsv(232, 69%, 77%)
CMYKcmyk(68.9%, 60.2%, 0%, 23.1%)
CIE-LABlab(38.59, 32.51, -63.65)
CIE-LCHlch(38.59, 71.47, 297.06°)
OKLaboklab(48.34% 0.0046 -0.1835)
OKLCHoklch(48.34% 0.184 271.4)
XYZxyz(14.6093, 10.4250, 53.4562)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EC4 #C4B33D
analogous
#3D92C4 #3D4EC4 #6F3DC4
triadic
#3D4EC4 #C43D4E #4EC43D
tetradic
#3D4EC4 #C43D92 #C4B33D #3DC46F
square
#3D4EC4 #C43D92 #C4B33D #3DC46F
split-complementary
#3D4EC4 #C46F3D #92C43D
monochromatic
#1F2867 #2E3B96 #3D4EC4 #6C79D2 #9BA4E1

Accessibility & contrast

On white

6.81
#3D4EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3D4EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4EC4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EC4#FFFFFF#000000##FFFFFF
##3D4EC41.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d4ec4;
/* rgb */ color: rgb(61, 78, 196);
/* oklch */ color: oklch(48.3% 0.184 271.4);
Tailwind
colors: {
  custom: {
    50: '#837fd7',
    500: '#3d4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ec4;
$custom-light: #837fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ec4",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 232.444,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.18361,
    "h": 271.4
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#3D4EC4
secondary
#CDC590
accent
#CA4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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