#3D4E9D#3D4E9D

#3D4E9D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.129 H 271.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3D4E9D
RGBrgb(61, 78, 157)
HSLhsl(229, 44%, 43%)
HSVhsv(229, 61%, 62%)
CMYKcmyk(61.1%, 50.3%, 0%, 38.4%)
CIE-LABlab(35.74, 18.65, -45.19)
CIE-LCHlch(35.74, 48.88, 292.43°)
OKLaboklab(45.3% 0.0028 -0.1293)
OKLCHoklch(45.3% 0.129 271.2)
XYZxyz(10.7326, 8.8743, 33.0391)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E9D #9D8C3D
analogous
#3D7E9D #3D4E9D #5C3D9D
triadic
#3D4E9D #9D3D4E #4E9D3D
tetradic
#3D4E9D #9D3D7E #9D8C3D #3D9D5C
square
#3D4E9D #9D3D7E #9D8C3D #3D9D5C
split-complementary
#3D4E9D #9D5C3D #7E9D3D
monochromatic
#1B2245 #2C3871 #3D4E9D #596BBE #8592D0

Accessibility & contrast

On white

7.57
#3D4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3D4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E9D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E9D#FFFFFF#000000##FFFFFF
##3D4E9D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2558A0
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d4e9d;
/* rgb */ color: rgb(61, 78, 157);
/* oklch */ color: oklch(45.3% 0.129 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c7fba',
    500: '#3d4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e9d;
$custom-light: #7c7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e9d",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 229.375,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.12929,
    "h": 271.2
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#3D4E9D
secondary
#BAAF7C
accent
#BD54D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3D4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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