#3D4EC2#3D4EC2

#3D4EC2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.181 H 271.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3D4EC2
RGBrgb(61, 78, 194)
HSLhsl(232, 52%, 50%)
HSVhsv(232, 69%, 76%)
CMYKcmyk(68.6%, 59.8%, 0%, 23.9%)
CIE-LABlab(38.44, 31.81, -62.74)
CIE-LCHlch(38.44, 70.34, 296.88°)
OKLaboklab(48.18% 0.0046 -0.1809)
OKLCHoklch(48.18% 0.181 271.5)
XYZxyz(14.3832, 10.3345, 52.2652)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EC2 #C2B13D
analogous
#3D90C2 #3D4EC2 #6F3DC2
triadic
#3D4EC2 #C23D4E #4EC23D
tetradic
#3D4EC2 #C23D90 #C2B13D #3DC26F
square
#3D4EC2 #C23D90 #C2B13D #3DC26F
split-complementary
#3D4EC2 #C26F3D #90C23D
monochromatic
#202965 #2E3B93 #3D4EC2 #6C78D1 #9AA3DF

Accessibility & contrast

On white

6.85
#3D4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3D4EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4EC2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EC2#FFFFFF#000000##FFFFFF
##3D4EC21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4ec2;
/* rgb */ color: rgb(61, 78, 194);
/* oklch */ color: oklch(48.2% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#837fd5',
    500: '#3d4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ec2;
$custom-light: #837fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ec2",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 232.331,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.18095,
    "h": 271.5
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#3D4EC2
secondary
#CBC490
accent
#C94CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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