#3D4EA7#3D4EA7

#3D4EA7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.144 H 271.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3D4EA7
RGBrgb(61, 78, 167)
HSLhsl(230, 46%, 45%)
HSVhsv(230, 63%, 65%)
CMYKcmyk(63.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(36.42, 22.21, -50.08)
CIE-LCHlch(36.42, 54.78, 293.91°)
OKLaboklab(46.04% 0.0038 -0.1437)
OKLCHoklch(46.04% 0.144 271.5)
XYZxyz(11.6216, 9.2299, 37.7208)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA7 #A7963D
analogous
#3D83A7 #3D4EA7 #613DA7
triadic
#3D4EA7 #A73D4E #4EA73D
tetradic
#3D4EA7 #A73D83 #A7963D #3DA761
square
#3D4EA7 #A73D83 #A7963D #3DA761
split-complementary
#3D4EA7 #A7613D #83A73D
monochromatic
#1C244D #2D397A #3D4EA7 #5D6EC4 #8A96D4

Accessibility & contrast

On white

7.38
#3D4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3D4EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA7#FFFFFF#000000##FFFFFF
##3D4EA71.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165BAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d4ea7;
/* rgb */ color: rgb(61, 78, 167);
/* oklch */ color: oklch(46.0% 0.144 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d7fc2',
    500: '#3d4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea7;
$custom-light: #7d7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea7",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 230.377,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.14371,
    "h": 271.5
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#3D4EA7
secondary
#BFB581
accent
#C152D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3D4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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