#3D4EB5#3D4EB5

#3D4EB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.163 H 271.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3D4EB5
RGBrgb(61, 78, 181)
HSLhsl(232, 50%, 47%)
HSVhsv(232, 66%, 71%)
CMYKcmyk(66.3%, 56.9%, 0%, 29%)
CIE-LABlab(37.44, 27.19, -56.74)
CIE-LCHlch(37.44, 62.92, 295.61°)
OKLaboklab(47.12% 0.0045 -0.1633)
OKLCHoklch(47.12% 0.163 271.6)
XYZxyz(12.9865, 9.7759, 44.9097)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EB5 #B5A43D
analogous
#3D8AB5 #3D4EB5 #683DB5
triadic
#3D4EB5 #B53D4E #4EB53D
tetradic
#3D4EB5 #B53D8A #B5A43D #3DB568
square
#3D4EB5 #B53D8A #B5A43D #3DB568
split-complementary
#3D4EB5 #B5683D #8AB53D
monochromatic
#1E2759 #2E3A87 #3D4EB5 #6473CB #929CDA

Accessibility & contrast

On white

7.11
#3D4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3D4EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EB5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EB5#FFFFFF#000000##FFFFFF
##3D4EB51.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3d4eb5;
/* rgb */ color: rgb(61, 78, 181);
/* oklch */ color: oklch(47.1% 0.163 271.6);
Tailwind
colors: {
  custom: {
    50: '#807fcc',
    500: '#3d4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3d4eb5;
$custom-light: #807fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4eb5",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 231.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.16332,
    "h": 271.6
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#3D4EB5
secondary
#C5BD88
accent
#C64FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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