#3D41D6#3D41D6

#3D41D6 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.8% C 0.221 H 273.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3D41D6
RGBrgb(61, 65, 214)
HSLhsl(238, 65%, 54%)
HSVhsv(238, 71%, 84%)
CMYKcmyk(71.5%, 69.6%, 0%, 16.1%)
CIE-LABlab(37.16, 46.63, -76.42)
CIE-LCHlch(37.16, 89.52, 301.39°)
OKLaboklab(47.78% 0.0119 -0.221)
OKLCHoklch(47.78% 0.221 273.1)
XYZxyz(15.9483, 9.6261, 64.6228)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41D6 #D6D23D
analogous
#3D8ED6 #3D41D6 #863DD6
triadic
#3D41D6 #D63D41 #41D63D
tetradic
#3D41D6 #D63D8E #D6D23D #3DD686
square
#3D41D6 #D63D8E #D6D23D #3DD686
split-complementary
#3D41D6 #D6863D #8ED63D
monochromatic
#1B1D7E #2529B1 #3D41D6 #7072E1 #A2A4EB

Accessibility & contrast

On white

7.18
#3D41D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3D41D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41D6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41D6#FFFFFF#000000##FFFFFF
##3D41D61.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDA
Deuteranopia (green-blind)
#0050D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d41d6;
/* rgb */ color: rgb(61, 65, 214);
/* oklch */ color: oklch(47.8% 0.221 273.1);
Tailwind
colors: {
  custom: {
    50: '#8877e4',
    500: '#3d41d6',
    950: '#000000',
  },
}
SCSS
$custom: #3d41d6;
$custom-light: #8877e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41d6",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 238.431,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.22132,
    "h": 273.1
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#3D41D6
secondary
#D8D697
accent
#E440E8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3D41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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