#3D4E8E#3D4E8E

#3D4E8E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.107 H 270.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3D4E8E
RGBrgb(61, 78, 142)
HSLhsl(227, 40%, 40%)
HSVhsv(227, 57%, 56%)
CMYKcmyk(57%, 45.1%, 0%, 44.3%)
CIE-LABlab(34.79, 13.37, -37.62)
CIE-LCHlch(34.79, 39.93, 289.56°)
OKLaboklab(44.27% 0.0007 -0.107)
OKLCHoklch(44.27% 0.107 270.4)
XYZxyz(9.5297, 8.3932, 26.7038)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E8E #8E7D3D
analogous
#3D778E #3D4E8E #543D8E
triadic
#3D4E8E #8E3D4E #4E8E3D
tetradic
#3D4E8E #8E3D77 #8E7D3D #3D8E54
square
#3D4E8E #8E3D77 #8E7D3D #3D8E54
split-complementary
#3D4E8E #8E543D #778E3D
monochromatic
#181F38 #2B3663 #3D4E8E #5368B5 #7E8DC8

Accessibility & contrast

On white

7.84
#3D4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3D4E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E8E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E8E#FFFFFF#000000##FFFFFF
##3D4E8E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325690
Deuteranopia (green-blind)
#284E8D
Tritanopia (blue-blind)
#0E5C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d4e8e;
/* rgb */ color: rgb(61, 78, 142);
/* oklch */ color: oklch(44.3% 0.107 270.4);
Tailwind
colors: {
  custom: {
    50: '#797faf',
    500: '#3d4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e8e;
$custom-light: #797faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e8e",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 227.407,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.10703,
    "h": 270.4
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#3D4E8E
secondary
#B1A575
accent
#B758D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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