#3D4CC7#3D4CC7

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

Color values

HEX#3D4CC7
RGBrgb(61, 76, 199)
HSLhsl(233, 55%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(69.3%, 61.8%, 0%, 22%)
CIE-LABlab(38.35, 34.83, -65.80)
CIE-LCHlch(38.35, 74.45, 297.90°)
OKLaboklab(48.23% 0.006 -0.1899)
OKLCHoklch(48.23% 0.19 271.8)
XYZxyz(14.8142, 10.2831, 55.2259)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4CC7 #C7B83D
analogous
#3D91C7 #3D4CC7 #733DC7
triadic
#3D4CC7 #C73D4C #4CC73D
tetradic
#3D4CC7 #C73D91 #C7B83D #3DC773
square
#3D4CC7 #C73D91 #C7B83D #3DC773
split-complementary
#3D4CC7 #C7733D #91C73D
monochromatic
#1F276B #2D389A #3D4CC7 #6C78D5 #9CA4E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D4CC7#FFFFFF#000000##FFFFFF
##3D4CC71.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)
#0061CB
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4cc7;
/* rgb */ color: rgb(61, 76, 199);
/* oklch */ color: oklch(48.2% 0.190 271.8);
Tailwind
colors: {
  custom: {
    50: '#847ed9',
    500: '#3d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #3d4cc7;
$custom-light: #847ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4cc7",
  "rgb": {
    "r": 61,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 233.478,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.18998,
    "h": 271.8
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#3D4CC7
secondary
#CEC891
accent
#CE49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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