#3E41B6#3E41B6

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

Color values

HEX#3E41B6
RGBrgb(62, 65, 182)
HSLhsl(239, 49%, 48%)
HSVhsv(239, 66%, 71%)
CMYKcmyk(65.9%, 64.3%, 0%, 28.6%)
CIE-LABlab(34.36, 35.97, -62.35)
CIE-LCHlch(34.36, 71.98, 299.98°)
OKLaboklab(44.88% 0.0165 -0.1798)
OKLCHoklch(44.88% 0.181 275.2)
XYZxyz(12.3176, 8.1811, 45.1769)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B6 #B6B33E
analogous
#3E7DB6 #3E41B6 #773EB6
triadic
#3E41B6 #B63E41 #41B63E
tetradic
#3E41B6 #B63E7D #B6B33E #3EB677
square
#3E41B6 #B63E7D #B6B33E #3EB677
split-complementary
#3E41B6 #B6773E #7DB63E
monochromatic
#1F205B #2E3188 #3E41B6 #6669CB #9496DB

Accessibility & contrast

On white

7.97
#3E41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B6#FFFFFF#000000##FFFFFF
##3E41B61.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.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: #3e41b6;
/* rgb */ color: rgb(62, 65, 182);
/* oklch */ color: oklch(44.9% 0.181 275.2);
Tailwind
colors: {
  custom: {
    50: '#8276cd',
    500: '#3e41b6',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b6;
$custom-light: #8276cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b6",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 238.5,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44882,
    "c": 0.18056,
    "h": 275.2
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#3E41B6
secondary
#C6C48A
accent
#D54FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3E41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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