#3D4D97#3D4D97

#3D4D97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.122 H 271.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3D4D97
RGBrgb(61, 77, 151)
HSLhsl(229, 42%, 42%)
HSVhsv(229, 60%, 59%)
CMYKcmyk(59.6%, 49%, 0%, 40.8%)
CIE-LABlab(35.07, 17.18, -42.64)
CIE-LCHlch(35.07, 45.98, 291.95°)
OKLaboklab(44.67% 0.0032 -0.1218)
OKLCHoklch(44.67% 0.122 271.5)
XYZxyz(10.1624, 8.5334, 30.3837)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4D97 #97873D
analogous
#3D7A97 #3D4D97 #5A3D97
triadic
#3D4D97 #973D4D #4D973D
tetradic
#3D4D97 #973D7A #97873D #3D975A
square
#3D4D97 #973D7A #97873D #3D975A
split-complementary
#3D4D97 #975A3D #7A973D
monochromatic
#1A2140 #2B376B #3D4D97 #5668BB #828FCC

Accessibility & contrast

On white

7.76
#3D4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3D4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4D97
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4D97#FFFFFF#000000##FFFFFF
##3D4D971.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#1A4F95
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d4d97;
/* rgb */ color: rgb(61, 77, 151);
/* oklch */ color: oklch(44.7% 0.122 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b7eb6',
    500: '#3d4d97',
    950: '#000000',
  },
}
SCSS
$custom: #3d4d97;
$custom-light: #7b7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4d97",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 229.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.12183,
    "h": 271.5
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#3D4D97
secondary
#B7AC79
accent
#BC56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3D4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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