#3D4EA6#3D4EA6

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

Color values

HEX#3D4EA6
RGBrgb(61, 78, 166)
HSLhsl(230, 46%, 45%)
HSVhsv(230, 63%, 65%)
CMYKcmyk(63.3%, 53%, 0%, 34.9%)
CIE-LABlab(36.35, 21.85, -49.60)
CIE-LCHlch(36.35, 54.20, 293.78°)
OKLaboklab(45.96% 0.0037 -0.1422)
OKLCHoklch(45.96% 0.142 271.5)
XYZxyz(11.5295, 9.1931, 37.2359)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA6 #A6953D
analogous
#3D83A6 #3D4EA6 #613DA6
triadic
#3D4EA6 #A63D4E #4EA63D
tetradic
#3D4EA6 #A63D83 #A6953D #3DA661
square
#3D4EA6 #A63D83 #A6953D #3DA661
split-complementary
#3D4EA6 #A6613D #83A63D
monochromatic
#1C244C #2D3979 #3D4EA6 #5D6DC3 #8A96D4

Accessibility & contrast

On white

7.40
#3D4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3D4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA6#FFFFFF#000000##FFFFFF
##3D4EA61.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d4ea6;
/* rgb */ color: rgb(61, 78, 166);
/* oklch */ color: oklch(46.0% 0.142 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d7fc1',
    500: '#3d4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea6;
$custom-light: #7d7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea6",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 230.286,
    "s": 46.256,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.14228,
    "h": 271.5
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#3D4EA6
secondary
#BEB480
accent
#C152D6
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3D4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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