#3D4EB2#3D4EB2

#3D4EB2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.159 H 271.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3D4EB2
RGBrgb(61, 78, 178)
HSLhsl(231, 49%, 47%)
HSVhsv(231, 66%, 70%)
CMYKcmyk(65.7%, 56.2%, 0%, 30.2%)
CIE-LABlab(37.21, 26.13, -55.33)
CIE-LCHlch(37.21, 61.19, 295.27°)
OKLaboklab(46.88% 0.0044 -0.1591)
OKLCHoklch(46.88% 0.159 271.6)
XYZxyz(12.6820, 9.6541, 43.3059)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EB2 #B2A13D
analogous
#3D89B2 #3D4EB2 #673DB2
triadic
#3D4EB2 #B23D4E #4EB23D
tetradic
#3D4EB2 #B23D89 #B2A13D #3DB267
square
#3D4EB2 #B23D89 #B2A13D #3DB267
split-complementary
#3D4EB2 #B2673D #89B23D
monochromatic
#1E2657 #2D3A84 #3D4EB2 #6372C9 #909BD9

Accessibility & contrast

On white

7.16
#3D4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3D4EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EB2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EB2#FFFFFF#000000##FFFFFF
##3D4EB21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3d4eb2;
/* rgb */ color: rgb(61, 78, 178);
/* oklch */ color: oklch(46.9% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#807fca',
    500: '#3d4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d4eb2;
$custom-light: #807fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4eb2",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 231.282,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.15917,
    "h": 271.6
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#3D4EB2
secondary
#C4BB87
accent
#C54FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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