#3D41C3#3D41C3

#3D41C3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.198 H 274.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3D41C3
RGBrgb(61, 65, 195)
HSLhsl(238, 53%, 50%)
HSVhsv(238, 69%, 76%)
CMYKcmyk(68.7%, 66.7%, 0%, 23.5%)
CIE-LABlab(35.42, 40.26, -68.25)
CIE-LCHlch(35.42, 79.24, 300.54°)
OKLaboklab(45.99% 0.0141 -0.1971)
OKLCHoklch(45.99% 0.198 274.1)
XYZxyz(13.6618, 8.7115, 52.5807)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41C3 #C3BF3D
analogous
#3D84C3 #3D41C3 #7C3DC3
triadic
#3D41C3 #C33D41 #41C33D
tetradic
#3D41C3 #C33D84 #C3BF3D #3DC37C
square
#3D41C3 #C33D84 #C3BF3D #3DC37C
split-complementary
#3D41C3 #C37C3D #84C33D
monochromatic
#202266 #2E3195 #3D41C3 #6C6FD1 #9A9DE0

Accessibility & contrast

On white

7.66
#3D41C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3D41C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41C3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41C3#FFFFFF#000000##FFFFFF
##3D41C31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d41c3;
/* rgb */ color: rgb(61, 65, 195);
/* oklch */ color: oklch(46.0% 0.198 274.1);
Tailwind
colors: {
  custom: {
    50: '#8476d6',
    500: '#3d41c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d41c3;
$custom-light: #8476d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41c3",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 238.209,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45989,
    "c": 0.19764,
    "h": 274.1
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#3D41C3
secondary
#CCCA90
accent
#D84CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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