#3D428F#3D428F

#3D428F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.125 H 276.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3D428F
RGBrgb(61, 66, 143)
HSLhsl(236, 40%, 40%)
HSVhsv(236, 57%, 56%)
CMYKcmyk(57.3%, 53.8%, 0%, 43.9%)
CIE-LABlab(31.51, 21.65, -43.49)
CIE-LCHlch(31.51, 48.58, 296.47°)
OKLaboklab(41.81% 0.0147 -0.1244)
OKLCHoklch(41.81% 0.125 276.7)
XYZxyz(8.8290, 6.8711, 26.8423)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D428F #8F8A3D
analogous
#3D6B8F #3D428F #613D8F
triadic
#3D428F #8F3D42 #428F3D
tetradic
#3D428F #8F3D6B #8F8A3D #3D8F61
square
#3D428F #8F3D6B #8F8A3D #3D8F61
split-complementary
#3D428F #8F613D #6B8F3D
monochromatic
#181A39 #2B2E64 #3D428F #5359B6 #7E83C8

Accessibility & contrast

On white

8.84
#3D428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3D428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D428F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D428F#FFFFFF#000000##FFFFFF
##3D428F1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#05478D
Tritanopia (blue-blind)
#105462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d428f;
/* rgb */ color: rgb(61, 66, 143);
/* oklch */ color: oklch(41.8% 0.125 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a76b0',
    500: '#3d428f',
    950: '#000000',
  },
}
SCSS
$custom: #3d428f;
$custom-light: #7a76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d428f",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 236.341,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.12526,
    "h": 276.7
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#3D428F
secondary
#B2AE76
accent
#C958D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3D428F

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

Preview Lab → · Contrast checker → · Palette generator →

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