#3D418F#3D418F

#3D418F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.127 H 277.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3D418F
RGBrgb(61, 65, 143)
HSLhsl(237, 40%, 40%)
HSVhsv(237, 57%, 56%)
CMYKcmyk(57.3%, 54.5%, 0%, 43.9%)
CIE-LABlab(31.24, 22.31, -43.92)
CIE-LCHlch(31.24, 49.26, 296.93°)
OKLaboklab(41.61% 0.0158 -0.1257)
OKLCHoklch(41.61% 0.127 277.2)
XYZxyz(8.7711, 6.7553, 26.8230)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D418F #8F8B3D
analogous
#3D6A8F #3D418F #623D8F
triadic
#3D418F #8F3D41 #418F3D
tetradic
#3D418F #8F3D6A #8F8B3D #3D8F62
square
#3D418F #8F3D6A #8F8B3D #3D8F62
split-complementary
#3D418F #8F623D #6A8F3D
monochromatic
#181A39 #2B2E64 #3D418F #5358B6 #7E82C8

Accessibility & contrast

On white

8.93
#3D418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3D418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D418F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D418F#FFFFFF#000000##FFFFFF
##3D418F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#115361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d418f;
/* rgb */ color: rgb(61, 65, 143);
/* oklch */ color: oklch(41.6% 0.127 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a75b0',
    500: '#3d418f',
    950: '#000000',
  },
}
SCSS
$custom: #3d418f;
$custom-light: #7a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d418f",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 237.073,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.12667,
    "h": 277.2
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#3D418F
secondary
#B2AF76
accent
#CA58D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3D418F

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

Preview Lab → · Contrast checker → · Palette generator →

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