#3D41C2#3D41C2

#3D41C2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.196 H 274.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3D41C2
RGBrgb(61, 65, 194)
HSLhsl(238, 52%, 50%)
HSVhsv(238, 69%, 76%)
CMYKcmyk(68.6%, 66.5%, 0%, 23.9%)
CIE-LABlab(35.33, 39.92, -67.81)
CIE-LCHlch(35.33, 78.69, 300.49°)
OKLaboklab(45.9% 0.0142 -0.1958)
OKLCHoklch(45.9% 0.196 274.2)
XYZxyz(13.5491, 8.6665, 51.9872)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41C2 #C2BE3D
analogous
#3D84C2 #3D41C2 #7B3DC2
triadic
#3D41C2 #C23D41 #41C23D
tetradic
#3D41C2 #C23D84 #C2BE3D #3DC27B
square
#3D41C2 #C23D84 #C2BE3D #3DC27B
split-complementary
#3D41C2 #C27B3D #84C23D
monochromatic
#202265 #2E3193 #3D41C2 #6C6FD1 #9A9CDF

Accessibility & contrast

On white

7.68
#3D41C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3D41C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41C2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41C2#FFFFFF#000000##FFFFFF
##3D41C21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d41c2;
/* rgb */ color: rgb(61, 65, 194);
/* oklch */ color: oklch(45.9% 0.196 274.2);
Tailwind
colors: {
  custom: {
    50: '#8476d6',
    500: '#3d41c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d41c2;
$custom-light: #8476d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41c2",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 238.195,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.19637,
    "h": 274.2
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#3D41C2
secondary
#CBC990
accent
#D74CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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