#3D41B6#3D41B6

#3D41B6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.181 H 274.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3D41B6
RGBrgb(61, 65, 182)
HSLhsl(238, 50%, 48%)
HSVhsv(238, 66%, 71%)
CMYKcmyk(66.5%, 64.3%, 0%, 28.6%)
CIE-LABlab(34.29, 35.83, -62.46)
CIE-LCHlch(34.29, 72.00, 299.84°)
OKLaboklab(44.82% 0.0153 -0.1802)
OKLCHoklch(44.82% 0.181 274.8)
XYZxyz(12.2555, 8.1490, 45.1740)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41B6 #B6B23D
analogous
#3D7DB6 #3D41B6 #763DB6
triadic
#3D41B6 #B63D41 #41B63D
tetradic
#3D41B6 #B63D7D #B6B23D #3DB676
square
#3D41B6 #B63D7D #B6B23D #3DB676
split-complementary
#3D41B6 #B6763D #7DB63D
monochromatic
#1E205A #2E3188 #3D41B6 #6568CB #9395DB

Accessibility & contrast

On white

7.98
#3D41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3D41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41B6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41B6#FFFFFF#000000##FFFFFF
##3D41B61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d41b6;
/* rgb */ color: rgb(61, 65, 182);
/* oklch */ color: oklch(44.8% 0.181 274.8);
Tailwind
colors: {
  custom: {
    50: '#8176cd',
    500: '#3d41b6',
    950: '#000000',
  },
}
SCSS
$custom: #3d41b6;
$custom-light: #8176cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41b6",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 238.017,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.18081,
    "h": 274.8
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#3D41B6
secondary
#C6C489
accent
#D54ED9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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