#3D41B1#3D41B1

#3D41B1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.174 H 275.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3D41B1
RGBrgb(61, 65, 177)
HSLhsl(238, 49%, 47%)
HSVhsv(238, 66%, 69%)
CMYKcmyk(65.5%, 63.3%, 0%, 30.6%)
CIE-LABlab(33.87, 34.11, -60.18)
CIE-LCHlch(33.87, 69.17, 299.54°)
OKLaboklab(44.38% 0.0156 -0.1735)
OKLCHoklch(44.38% 0.174 275.1)
XYZxyz(11.7480, 7.9460, 42.5011)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41B1 #B1AD3D
analogous
#3D7BB1 #3D41B1 #733DB1
triadic
#3D41B1 #B13D41 #41B13D
tetradic
#3D41B1 #B13D7B #B1AD3D #3DB173
square
#3D41B1 #B13D7B #B1AD3D #3DB173
split-complementary
#3D41B1 #B1733D #7BB13D
monochromatic
#1E2056 #2D3083 #3D41B1 #6266C9 #9092D9

Accessibility & contrast

On white

8.11
#3D41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3D41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41B1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41B1#FFFFFF#000000##FFFFFF
##3D41B11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d41b1;
/* rgb */ color: rgb(61, 65, 177);
/* oklch */ color: oklch(44.4% 0.174 275.1);
Tailwind
colors: {
  custom: {
    50: '#8076c9',
    500: '#3d41b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d41b1;
$custom-light: #8076c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41b1",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 237.931,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.17418,
    "h": 275.1
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#3D41B1
secondary
#C4C286
accent
#D450D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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