#3D4A8A#3D4A8A

#3D4A8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.106 H 272.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3D4A8A
RGBrgb(61, 74, 138)
HSLhsl(230, 39%, 39%)
HSVhsv(230, 56%, 54%)
CMYKcmyk(55.8%, 46.4%, 0%, 45.9%)
CIE-LABlab(33.40, 14.62, -37.39)
CIE-LCHlch(33.40, 40.14, 291.35°)
OKLaboklab(43.13% 0.0048 -0.1064)
OKLCHoklch(43.13% 0.107 272.6)
XYZxyz(8.9592, 7.7240, 25.0586)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4A8A #8A7D3D
analogous
#3D718A #3D4A8A #573D8A
triadic
#3D4A8A #8A3D4A #4A8A3D
tetradic
#3D4A8A #8A3D71 #8A7D3D #3D8A57
square
#3D4A8A #8A3D71 #8A7D3D #3D8A57
split-complementary
#3D4A8A #8A573D #718A3D
monochromatic
#171C35 #2A3360 #3D4A8A #5262B2 #7C89C5

Accessibility & contrast

On white

8.25
#3D4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3D4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4A8A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4A8A#FFFFFF#000000##FFFFFF
##3D4A8A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#254B89
Tritanopia (blue-blind)
#165863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d4a8a;
/* rgb */ color: rgb(61, 74, 138);
/* oklch */ color: oklch(43.1% 0.106 272.6);
Tailwind
colors: {
  custom: {
    50: '#797cac',
    500: '#3d4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d4a8a;
$custom-light: #797cac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4a8a",
  "rgb": {
    "r": 61,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 229.87,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.1065,
    "h": 272.6
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#3D4A8A
secondary
#AFA574
accent
#BB59CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3D4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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