#3D4DC5#3D4DC5

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

Color values

HEX#3D4DC5
RGBrgb(61, 77, 197)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 69%, 77%)
CMYKcmyk(69%, 60.9%, 0%, 22.7%)
CIE-LABlab(38.43, 33.50, -64.50)
CIE-LCHlch(38.43, 72.68, 297.44°)
OKLaboklab(48.24% 0.0054 -0.1861)
OKLCHoklch(48.24% 0.186 271.6)
XYZxyz(14.6530, 10.3297, 54.0341)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4DC5 #C5B53D
analogous
#3D91C5 #3D4DC5 #713DC5
triadic
#3D4DC5 #C53D4D #4DC53D
tetradic
#3D4DC5 #C53D91 #C5B53D #3DC571
square
#3D4DC5 #C53D91 #C5B53D #3DC571
split-complementary
#3D4DC5 #C5713D #91C53D
monochromatic
#1F2868 #2D3A98 #3D4DC5 #6C78D3 #9BA3E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D4DC5#FFFFFF#000000##FFFFFF
##3D4DC51.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)
#0061C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4dc5;
/* rgb */ color: rgb(61, 77, 197);
/* oklch */ color: oklch(48.2% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#837ed8',
    500: '#3d4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3d4dc5;
$custom-light: #837ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4dc5",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 232.941,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.18615,
    "h": 271.6
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#3D4DC5
secondary
#CDC691
accent
#CC4ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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