#3D4EA2#3D4EA2

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

Color values

HEX#3D4EA2
RGBrgb(61, 78, 162)
HSLhsl(230, 45%, 44%)
HSVhsv(230, 62%, 64%)
CMYKcmyk(62.3%, 51.9%, 0%, 36.5%)
CIE-LABlab(36.08, 20.43, -47.65)
CIE-LCHlch(36.08, 51.84, 293.20°)
OKLaboklab(45.67% 0.0033 -0.1365)
OKLCHoklch(45.67% 0.137 271.4)
XYZxyz(11.1683, 9.0486, 35.3334)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA2 #A2913D
analogous
#3D80A2 #3D4EA2 #5E3DA2
triadic
#3D4EA2 #A23D4E #4EA23D
tetradic
#3D4EA2 #A23D80 #A2913D #3DA25E
square
#3D4EA2 #A23D80 #A2913D #3DA25E
split-complementary
#3D4EA2 #A25E3D #80A23D
monochromatic
#1C2349 #2C3976 #3D4EA2 #5B6CC1 #8794D2

Accessibility & contrast

On white

7.47
#3D4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3D4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA2#FFFFFF#000000##FFFFFF
##3D4EA21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA5
Deuteranopia (green-blind)
#0151A0
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d4ea2;
/* rgb */ color: rgb(61, 78, 162);
/* oklch */ color: oklch(45.7% 0.137 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d7fbe',
    500: '#3d4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea2;
$custom-light: #7d7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea2",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 229.901,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.13654,
    "h": 271.4
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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