#3D41D5#3D41D5

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

Color values

HEX#3D41D5
RGBrgb(61, 65, 213)
HSLhsl(238, 64%, 54%)
HSVhsv(238, 71%, 84%)
CMYKcmyk(71.4%, 69.5%, 0%, 16.5%)
CIE-LABlab(37.07, 46.30, -75.99)
CIE-LCHlch(37.07, 88.99, 301.35°)
OKLaboklab(47.68% 0.012 -0.2198)
OKLCHoklch(47.68% 0.22 273.1)
XYZxyz(15.8210, 9.5752, 63.9523)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41D5 #D5D13D
analogous
#3D8DD5 #3D41D5 #853DD5
triadic
#3D41D5 #D53D41 #41D53D
tetradic
#3D41D5 #D53D8D #D5D13D #3DD585
square
#3D41D5 #D53D8D #D5D13D #3DD585
split-complementary
#3D41D5 #D5853D #8DD53D
monochromatic
#1B1E7D #2629AF #3D41D5 #6F72E0 #A2A4EB

Accessibility & contrast

On white

7.20
#3D41D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3D41D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41D5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41D5#FFFFFF#000000##FFFFFF
##3D41D51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0050D2
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d41d5;
/* rgb */ color: rgb(61, 65, 213);
/* oklch */ color: oklch(47.7% 0.220 273.1);
Tailwind
colors: {
  custom: {
    50: '#8877e3',
    500: '#3d41d5',
    950: '#000000',
  },
}
SCSS
$custom: #3d41d5;
$custom-light: #8877e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41d5",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 238.421,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.2201,
    "h": 273.1
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#3D41D5
secondary
#D7D696
accent
#E340E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3D41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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