#3D4EA1#3D4EA1

#3D4EA1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.135 H 271.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3D4EA1
RGBrgb(61, 78, 161)
HSLhsl(230, 45%, 44%)
HSVhsv(230, 62%, 63%)
CMYKcmyk(62.1%, 51.6%, 0%, 36.9%)
CIE-LABlab(36.01, 20.07, -47.16)
CIE-LCHlch(36.01, 51.25, 293.05°)
OKLaboklab(45.59% 0.0032 -0.1351)
OKLCHoklch(45.59% 0.135 271.4)
XYZxyz(11.0797, 9.0132, 34.8671)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA1 #A1903D
analogous
#3D80A1 #3D4EA1 #5E3DA1
triadic
#3D4EA1 #A13D4E #4EA13D
tetradic
#3D4EA1 #A13D80 #A1903D #3DA15E
square
#3D4EA1 #A13D80 #A1903D #3DA15E
split-complementary
#3D4EA1 #A15E3D #80A13D
monochromatic
#1B2348 #2C3875 #3D4EA1 #5B6CC1 #8794D1

Accessibility & contrast

On white

7.49
#3D4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3D4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA1
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA1#FFFFFF#000000##FFFFFF
##3D4EA11.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#05509F
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d4ea1;
/* rgb */ color: rgb(61, 78, 161);
/* oklch */ color: oklch(45.6% 0.135 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c7fbd',
    500: '#3d4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea1;
$custom-light: #7c7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea1",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 229.8,
    "s": 45.045,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.1351,
    "h": 271.4
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#3D4EA1
secondary
#BCB17E
accent
#BF53D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3D4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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