#3D4DC4#3D4DC4

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

Color values

HEX#3D4DC4
RGBrgb(61, 77, 196)
HSLhsl(233, 53%, 50%)
HSVhsv(233, 69%, 77%)
CMYKcmyk(68.9%, 60.7%, 0%, 23.1%)
CIE-LABlab(38.35, 33.15, -64.05)
CIE-LCHlch(38.35, 72.12, 297.36°)
OKLaboklab(48.16% 0.0054 -0.1847)
OKLCHoklch(48.16% 0.185 271.7)
XYZxyz(14.5388, 10.2840, 53.4327)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4DC4 #C4B43D
analogous
#3D90C4 #3D4DC4 #703DC4
triadic
#3D4DC4 #C43D4D #4DC43D
tetradic
#3D4DC4 #C43D90 #C4B43D #3DC470
square
#3D4DC4 #C43D90 #C4B43D #3DC470
split-complementary
#3D4DC4 #C4703D #90C43D
monochromatic
#1F2867 #2E3A96 #3D4DC4 #6C78D2 #9BA3E1

Accessibility & contrast

On white

6.87
#3D4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3D4DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4DC4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4DC4#FFFFFF#000000##FFFFFF
##3D4DC41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4dc4;
/* rgb */ color: rgb(61, 77, 196);
/* oklch */ color: oklch(48.2% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#837ed7',
    500: '#3d4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3d4dc4;
$custom-light: #837ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4dc4",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 232.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.18482,
    "h": 271.7
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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