#3D418E#3D418E

#3D418E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.125 H 277.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3D418E
RGBrgb(61, 65, 142)
HSLhsl(237, 40%, 40%)
HSVhsv(237, 57%, 56%)
CMYKcmyk(57%, 54.2%, 0%, 44.3%)
CIE-LABlab(31.17, 21.97, -43.42)
CIE-LCHlch(31.17, 48.66, 296.84°)
OKLaboklab(41.53% 0.0157 -0.1242)
OKLCHoklch(41.53% 0.125 277.2)
XYZxyz(8.6957, 6.7251, 26.4258)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D418E #8E8A3D
analogous
#3D6A8E #3D418E #623D8E
triadic
#3D418E #8E3D41 #418E3D
tetradic
#3D418E #8E3D6A #8E8A3D #3D8E62
square
#3D418E #8E3D6A #8E8A3D #3D8E62
split-complementary
#3D418E #8E623D #6A8E3D
monochromatic
#181A38 #2B2D63 #3D418E #5358B5 #7E82C8

Accessibility & contrast

On white

8.95
#3D418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D418E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D418E#FFFFFF#000000##FFFFFF
##3D418E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#125361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d418e;
/* rgb */ color: rgb(61, 65, 142);
/* oklch */ color: oklch(41.5% 0.125 277.2);
Tailwind
colors: {
  custom: {
    50: '#7a75b0',
    500: '#3d418e',
    950: '#000000',
  },
}
SCSS
$custom: #3d418e;
$custom-light: #7a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d418e",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 237.037,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.1252,
    "h": 277.2
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D418E

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

Preview Lab → · Contrast checker → · Palette generator →

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