#3D4EA5#3D4EA5

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

Color values

HEX#3D4EA5
RGBrgb(61, 78, 165)
HSLhsl(230, 46%, 44%)
HSVhsv(230, 63%, 65%)
CMYKcmyk(63%, 52.7%, 0%, 35.3%)
CIE-LABlab(36.28, 21.49, -49.11)
CIE-LCHlch(36.28, 53.61, 293.64°)
OKLaboklab(45.89% 0.0036 -0.1408)
OKLCHoklch(45.89% 0.141 271.5)
XYZxyz(11.4381, 9.1565, 36.7546)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA5 #A5943D
analogous
#3D82A5 #3D4EA5 #603DA5
triadic
#3D4EA5 #A53D4E #4EA53D
tetradic
#3D4EA5 #A53D82 #A5943D #3DA560
square
#3D4EA5 #A53D82 #A5943D #3DA560
split-complementary
#3D4EA5 #A5603D #82A53D
monochromatic
#1C244C #2C3978 #3D4EA5 #5C6DC3 #8995D3

Accessibility & contrast

On white

7.42
#3D4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3D4EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA5#FFFFFF#000000##FFFFFF
##3D4EA51.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d4ea5;
/* rgb */ color: rgb(61, 78, 165);
/* oklch */ color: oklch(45.9% 0.141 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d7fc0',
    500: '#3d4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea5;
$custom-light: #7d7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea5",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 230.192,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.14086,
    "h": 271.5
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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