#3D41B5#3D41B5

#3D41B5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.179 H 274.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3D41B5
RGBrgb(61, 65, 181)
HSLhsl(238, 50%, 47%)
HSVhsv(238, 66%, 71%)
CMYKcmyk(66.3%, 64.1%, 0%, 29%)
CIE-LABlab(34.21, 35.48, -62.00)
CIE-LCHlch(34.21, 71.44, 299.78°)
OKLaboklab(44.73% 0.0154 -0.1788)
OKLCHoklch(44.73% 0.179 274.9)
XYZxyz(12.1525, 8.1078, 44.6316)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41B5 #B5B13D
analogous
#3D7DB5 #3D41B5 #753DB5
triadic
#3D41B5 #B53D41 #41B53D
tetradic
#3D41B5 #B53D7D #B5B13D #3DB575
square
#3D41B5 #B53D7D #B5B13D #3DB575
split-complementary
#3D41B5 #B5753D #7DB53D
monochromatic
#1E2059 #2E3187 #3D41B5 #6468CB #9295DA

Accessibility & contrast

On white

8.01
#3D41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3D41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41B5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41B5#FFFFFF#000000##FFFFFF
##3D41B51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d41b5;
/* rgb */ color: rgb(61, 65, 181);
/* oklch */ color: oklch(44.7% 0.179 274.9);
Tailwind
colors: {
  custom: {
    50: '#8176cc',
    500: '#3d41b5',
    950: '#000000',
  },
}
SCSS
$custom: #3d41b5;
$custom-light: #8176cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41b5",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 238,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.17949,
    "h": 274.9
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#3D41B5
secondary
#C5C388
accent
#D54FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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