#3D4E8A#3D4E8A

#3D4E8A is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.101 H 269.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3D4E8A
RGBrgb(61, 78, 138)
HSLhsl(227, 39%, 39%)
HSVhsv(227, 56%, 54%)
CMYKcmyk(55.8%, 43.5%, 0%, 45.9%)
CIE-LABlab(34.55, 11.98, -35.56)
CIE-LCHlch(34.55, 37.52, 288.61°)
OKLaboklab(44.01% -0.0001 -0.101)
OKLCHoklch(44.01% 0.101 269.9)
XYZxyz(9.2348, 8.2752, 25.1505)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E8A #8A793D
analogous
#3D758A #3D4E8A #533D8A
triadic
#3D4E8A #8A3D4E #4E8A3D
tetradic
#3D4E8A #8A3D75 #8A793D #3D8A53
square
#3D4E8A #8A3D75 #8A793D #3D8A53
split-complementary
#3D4E8A #8A533D #758A3D
monochromatic
#171E35 #2A3660 #3D4E8A #5267B2 #7C8CC5

Accessibility & contrast

On white

7.91
#3D4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3D4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E8A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E8A#FFFFFF#000000##FFFFFF
##3D4E8A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#155B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d4e8a;
/* rgb */ color: rgb(61, 78, 138);
/* oklch */ color: oklch(44.0% 0.101 269.9);
Tailwind
colors: {
  custom: {
    50: '#787fac',
    500: '#3d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e8a;
$custom-light: #787fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e8a",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 226.753,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.10098,
    "h": 269.9
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#3D4E8A
secondary
#AFA274
accent
#B559CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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