#3D4EC7#3D4EC7

#3D4EC7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.188 H 271.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3D4EC7
RGBrgb(61, 78, 199)
HSLhsl(233, 55%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(69.3%, 60.8%, 0%, 22%)
CIE-LABlab(38.83, 33.57, -65.00)
CIE-LCHlch(38.83, 73.16, 297.31°)
OKLaboklab(48.59% 0.0046 -0.1875)
OKLCHoklch(48.59% 0.188 271.4)
XYZxyz(14.9542, 10.5629, 55.2725)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EC7 #C7B63D
analogous
#3D93C7 #3D4EC7 #713DC7
triadic
#3D4EC7 #C73D4E #4EC73D
tetradic
#3D4EC7 #C73D93 #C7B63D #3DC771
square
#3D4EC7 #C73D93 #C7B63D #3DC771
split-complementary
#3D4EC7 #C7713D #93C73D
monochromatic
#1F286B #2D3A9A #3D4EC7 #6C79D5 #9CA5E2

Accessibility & contrast

On white

6.75
#3D4EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3D4EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4EC7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EC7#FFFFFF#000000##FFFFFF
##3D4EC71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d4ec7;
/* rgb */ color: rgb(61, 78, 199);
/* oklch */ color: oklch(48.6% 0.188 271.4);
Tailwind
colors: {
  custom: {
    50: '#847fd9',
    500: '#3d4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ec7;
$custom-light: #847fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ec7",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 232.609,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.18758,
    "h": 271.4
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#3D4EC7
secondary
#CEC791
accent
#CC49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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