#3D4399#3D4399

#3D4399 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.138 H 275.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3D4399
RGBrgb(61, 67, 153)
HSLhsl(236, 43%, 42%)
HSVhsv(236, 60%, 60%)
CMYKcmyk(60.1%, 56.2%, 0%, 40%)
CIE-LABlab(32.49, 24.47, -48.01)
CIE-LCHlch(32.49, 53.89, 297.01°)
OKLaboklab(42.77% 0.0141 -0.1377)
OKLCHoklch(42.77% 0.138 275.9)
XYZxyz(9.6795, 7.3056, 31.0309)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4399 #99933D
analogous
#3D7199 #3D4399 #653D99
triadic
#3D4399 #993D43 #43993D
tetradic
#3D4399 #993D71 #99933D #3D9965
square
#3D4399 #993D71 #99933D #3D9965
split-complementary
#3D4399 #99653D #71993D
monochromatic
#1A1D41 #2C306D #3D4399 #575EBC #8388CE

Accessibility & contrast

On white

8.53
#3D4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3D4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4399
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4399#FFFFFF#000000##FFFFFF
##3D43991.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d4399;
/* rgb */ color: rgb(61, 67, 153);
/* oklch */ color: oklch(42.8% 0.138 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c77b8',
    500: '#3d4399',
    950: '#000000',
  },
}
SCSS
$custom: #3d4399;
$custom-light: #7c77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4399",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 236.087,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.1384,
    "h": 275.9
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#3D4399
secondary
#B8B47A
accent
#CB55D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3D4399

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

Preview Lab → · Contrast checker → · Palette generator →

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