#3D4EC8#3D4EC8

#3D4EC8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.189 H 271.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3D4EC8
RGBrgb(61, 78, 200)
HSLhsl(233, 56%, 51%)
HSVhsv(233, 70%, 78%)
CMYKcmyk(69.5%, 61%, 0%, 21.6%)
CIE-LABlab(38.91, 33.92, -65.45)
CIE-LCHlch(38.91, 73.72, 297.40°)
OKLaboklab(48.68% 0.0045 -0.1888)
OKLCHoklch(48.68% 0.189 271.4)
XYZxyz(15.0707, 10.6095, 55.8860)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EC8 #C8B73D
analogous
#3D93C8 #3D4EC8 #713DC8
triadic
#3D4EC8 #C83D4E #4EC83D
tetradic
#3D4EC8 #C83D93 #C8B73D #3DC871
square
#3D4EC8 #C83D93 #C8B73D #3DC871
split-complementary
#3D4EC8 #C8713D #93C83D
monochromatic
#1F286C #2C3A9C #3D4EC8 #6D7AD6 #9CA5E3

Accessibility & contrast

On white

6.73
#3D4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3D4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4EC8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EC8#FFFFFF#000000##FFFFFF
##3D4EC81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3d4ec8;
/* rgb */ color: rgb(61, 78, 200);
/* oklch */ color: oklch(48.7% 0.189 271.4);
Tailwind
colors: {
  custom: {
    50: '#847fda',
    500: '#3d4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ec8;
$custom-light: #847fda;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ec8",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 232.662,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.18889,
    "h": 271.4
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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