#3D4DC7#3D4DC7

#3D4DC7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.189 H 271.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3D4DC7
RGBrgb(61, 77, 199)
HSLhsl(233, 55%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(69.3%, 61.3%, 0%, 22%)
CIE-LABlab(38.59, 34.20, -65.40)
CIE-LCHlch(38.59, 73.81, 297.61°)
OKLaboklab(48.41% 0.0053 -0.1887)
OKLCHoklch(48.41% 0.189 271.6)
XYZxyz(14.8837, 10.4219, 55.2490)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4DC7 #C7B73D
analogous
#3D92C7 #3D4DC7 #723DC7
triadic
#3D4DC7 #C73D4D #4DC73D
tetradic
#3D4DC7 #C73D92 #C7B73D #3DC772
square
#3D4DC7 #C73D92 #C7B73D #3DC772
split-complementary
#3D4DC7 #C7723D #92C73D
monochromatic
#1F286B #2D399A #3D4DC7 #6C79D5 #9CA4E2

Accessibility & contrast

On white

6.81
#3D4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3D4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4DC7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4DC7#FFFFFF#000000##FFFFFF
##3D4DC71.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d4dc7;
/* rgb */ color: rgb(61, 77, 199);
/* oklch */ color: oklch(48.4% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#847ed9',
    500: '#3d4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3d4dc7;
$custom-light: #847ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4dc7",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 233.043,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.18878,
    "h": 271.6
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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