#3D41B2#3D41B2

#3D41B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.176 H 275.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3D41B2
RGBrgb(61, 65, 178)
HSLhsl(238, 49%, 47%)
HSVhsv(238, 66%, 70%)
CMYKcmyk(65.7%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.95, 34.45, -60.64)
CIE-LCHlch(33.95, 69.74, 299.60°)
OKLaboklab(44.47% 0.0156 -0.1748)
OKLCHoklch(44.47% 0.176 275.1)
XYZxyz(11.8480, 7.9860, 43.0279)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41B2 #B2AE3D
analogous
#3D7CB2 #3D41B2 #743DB2
triadic
#3D41B2 #B23D41 #41B23D
tetradic
#3D41B2 #B23D7C #B2AE3D #3DB274
square
#3D41B2 #B23D7C #B2AE3D #3DB274
split-complementary
#3D41B2 #B2743D #7CB23D
monochromatic
#1E2057 #2D3084 #3D41B2 #6366C9 #9093D9

Accessibility & contrast

On white

8.09
#3D41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3D41B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41B2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41B2#FFFFFF#000000##FFFFFF
##3D41B21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d41b2;
/* rgb */ color: rgb(61, 65, 178);
/* oklch */ color: oklch(44.5% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#8176ca',
    500: '#3d41b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d41b2;
$custom-light: #8176ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41b2",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 237.949,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.17552,
    "h": 275.1
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#3D41B2
secondary
#C4C287
accent
#D44FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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