#3D4CC5#3D4CC5

#3D4CC5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.187 H 271.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3D4CC5
RGBrgb(61, 76, 197)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 69%, 77%)
CMYKcmyk(69%, 61.4%, 0%, 22.7%)
CIE-LABlab(38.18, 34.13, -64.90)
CIE-LCHlch(38.18, 73.33, 297.74°)
OKLaboklab(48.06% 0.0061 -0.1872)
OKLCHoklch(48.06% 0.187 271.9)
XYZxyz(14.5836, 10.1908, 54.0110)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4CC5 #C5B63D
analogous
#3D90C5 #3D4CC5 #723DC5
triadic
#3D4CC5 #C53D4C #4CC53D
tetradic
#3D4CC5 #C53D90 #C5B63D #3DC572
square
#3D4CC5 #C53D90 #C5B63D #3DC572
split-complementary
#3D4CC5 #C5723D #90C53D
monochromatic
#1F2768 #2D3998 #3D4CC5 #6C77D3 #9BA3E1

Accessibility & contrast

On white

6.91
#3D4CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3D4CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4CC5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4CC5#FFFFFF#000000##FFFFFF
##3D4CC51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4cc5;
/* rgb */ color: rgb(61, 76, 197);
/* oklch */ color: oklch(48.1% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#847ed8',
    500: '#3d4cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3d4cc5;
$custom-light: #847ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4cc5",
  "rgb": {
    "r": 61,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 233.382,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48062,
    "c": 0.18735,
    "h": 271.9
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D4CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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