#3D4E95#3D4E95

#3D4E95 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.7% C 0.118 H 270.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3D4E95
RGBrgb(61, 78, 149)
HSLhsl(228, 42%, 41%)
HSVhsv(228, 59%, 58%)
CMYKcmyk(59.1%, 47.7%, 0%, 41.6%)
CIE-LABlab(35.22, 15.82, -41.19)
CIE-LCHlch(35.22, 44.12, 291.01°)
OKLaboklab(44.74% 0.0018 -0.1175)
OKLCHoklch(44.74% 0.118 270.9)
XYZxyz(10.0719, 8.6100, 29.5591)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E95 #95843D
analogous
#3D7A95 #3D4E95 #583D95
triadic
#3D4E95 #953D4E #4E953D
tetradic
#3D4E95 #953D7A #95843D #3D9558
square
#3D4E95 #953D7A #95843D #3D9558
split-complementary
#3D4E95 #95583D #7A953D
monochromatic
#19213E #2B376A #3D4E95 #5669BA #818FCB

Accessibility & contrast

On white

7.71
#3D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3D4E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E95
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E95#FFFFFF#000000##FFFFFF
##3D4E951.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d4e95;
/* rgb */ color: rgb(61, 78, 149);
/* oklch */ color: oklch(44.7% 0.118 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fb4',
    500: '#3d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e95;
$custom-light: #7a7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e95",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 228.409,
    "s": 41.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.11751,
    "h": 270.9
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#3D4E95
secondary
#B5AA78
accent
#BA56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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