#3D41C5#3D41C5

#3D41C5 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.2% C 0.200 H 274.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3D41C5
RGBrgb(61, 65, 197)
HSLhsl(238, 54%, 51%)
HSVhsv(238, 69%, 77%)
CMYKcmyk(69%, 67%, 0%, 22.7%)
CIE-LABlab(35.60, 40.94, -69.13)
CIE-LCHlch(35.60, 80.34, 300.64°)
OKLaboklab(46.17% 0.0139 -0.1997)
OKLCHoklch(46.17% 0.2 274)
XYZxyz(13.8895, 8.8026, 53.7796)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41C5 #C5C13D
analogous
#3D85C5 #3D41C5 #7D3DC5
triadic
#3D41C5 #C53D41 #41C53D
tetradic
#3D41C5 #C53D85 #C5C13D #3DC57D
square
#3D41C5 #C53D85 #C5C13D #3DC57D
split-complementary
#3D41C5 #C57D3D #85C53D
monochromatic
#1F2168 #2D3098 #3D41C5 #6C6FD3 #9B9DE1

Accessibility & contrast

On white

7.61
#3D41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3D41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41C5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41C5#FFFFFF#000000##FFFFFF
##3D41C51.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d41c5;
/* rgb */ color: rgb(61, 65, 197);
/* oklch */ color: oklch(46.2% 0.200 274.0);
Tailwind
colors: {
  custom: {
    50: '#8476d8',
    500: '#3d41c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d41c5;
$custom-light: #8476d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41c5",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 238.235,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.20019,
    "h": 274
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#3D41C5
secondary
#CDCB91
accent
#D94ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3D41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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