#3D4D95#3D4D95

#3D4D95 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.119 H 271.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3D4D95
RGBrgb(61, 77, 149)
HSLhsl(229, 42%, 41%)
HSVhsv(229, 59%, 58%)
CMYKcmyk(59.1%, 48.3%, 0%, 41.6%)
CIE-LABlab(34.94, 16.48, -41.64)
CIE-LCHlch(34.94, 44.78, 291.59°)
OKLaboklab(44.53% 0.0029 -0.1188)
OKLCHoklch(44.53% 0.119 271.4)
XYZxyz(10.0014, 8.4690, 29.5356)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4D95 #95853D
analogous
#3D7995 #3D4D95 #593D95
triadic
#3D4D95 #953D4D #4D953D
tetradic
#3D4D95 #953D79 #95853D #3D9559
square
#3D4D95 #953D79 #95853D #3D9559
split-complementary
#3D4D95 #95593D #79953D
monochromatic
#19203E #2B376A #3D4D95 #5668BA #818FCB

Accessibility & contrast

On white

7.80
#3D4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3D4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4D95
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4D95#FFFFFF#000000##FFFFFF
##3D4D951.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#1D4F93
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d4d95;
/* rgb */ color: rgb(61, 77, 149);
/* oklch */ color: oklch(44.5% 0.119 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a7eb5',
    500: '#3d4d95',
    950: '#000000',
  },
}
SCSS
$custom: #3d4d95;
$custom-light: #7a7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4d95",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 229.091,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44527,
    "c": 0.11887,
    "h": 271.4
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#3D4D95
secondary
#B5AA78
accent
#BB56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3D4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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