#3D4EA4#3D4EA4

#3D4EA4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.139 H 271.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3D4EA4
RGBrgb(61, 78, 164)
HSLhsl(230, 46%, 44%)
HSVhsv(230, 63%, 64%)
CMYKcmyk(62.8%, 52.4%, 0%, 35.7%)
CIE-LABlab(36.21, 21.14, -48.62)
CIE-LCHlch(36.21, 53.02, 293.49°)
OKLaboklab(45.81% 0.0035 -0.1394)
OKLCHoklch(45.81% 0.139 271.4)
XYZxyz(11.3475, 9.1203, 36.2772)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA4 #A4933D
analogous
#3D82A4 #3D4EA4 #603DA4
triadic
#3D4EA4 #A43D4E #4EA43D
tetradic
#3D4EA4 #A43D82 #A4933D #3DA460
square
#3D4EA4 #A43D82 #A4933D #3DA460
split-complementary
#3D4EA4 #A4603D #82A43D
monochromatic
#1C244B #2C3977 #3D4EA4 #5C6DC2 #8895D3

Accessibility & contrast

On white

7.44
#3D4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3D4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA4#FFFFFF#000000##FFFFFF
##3D4EA41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d4ea4;
/* rgb */ color: rgb(61, 78, 164);
/* oklch */ color: oklch(45.8% 0.139 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d7fc0',
    500: '#3d4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea4;
$custom-light: #7d7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea4",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 230.097,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.13941,
    "h": 271.4
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#3D4EA4
secondary
#BDB37F
accent
#C052D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3D4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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