#3D4EC6#3D4EC6

#3D4EC6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.186 H 271.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3D4EC6
RGBrgb(61, 78, 198)
HSLhsl(233, 55%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(69.2%, 60.6%, 0%, 22.4%)
CIE-LABlab(38.75, 33.22, -64.55)
CIE-LCHlch(38.75, 72.60, 297.23°)
OKLaboklab(48.51% 0.0046 -0.1862)
OKLCHoklch(48.51% 0.186 271.4)
XYZxyz(14.8385, 10.5167, 54.6631)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EC6 #C6B53D
analogous
#3D92C6 #3D4EC6 #703DC6
triadic
#3D4EC6 #C63D4E #4EC63D
tetradic
#3D4EC6 #C63D92 #C6B53D #3DC670
square
#3D4EC6 #C63D92 #C6B53D #3DC670
split-complementary
#3D4EC6 #C6703D #92C63D
monochromatic
#1F286A #2D3A99 #3D4EC6 #6C79D4 #9CA4E2

Accessibility & contrast

On white

6.77
#3D4EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3D4EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4EC6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EC6#FFFFFF#000000##FFFFFF
##3D4EC61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d4ec6;
/* rgb */ color: rgb(61, 78, 198);
/* oklch */ color: oklch(48.5% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#847fd8',
    500: '#3d4ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ec6;
$custom-light: #847fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ec6",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 232.555,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.18626,
    "h": 271.4
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#3D4EC6
secondary
#CEC691
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D4EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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