#3E41B5#3E41B5

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

Color values

HEX#3E41B5
RGBrgb(62, 65, 181)
HSLhsl(238, 49%, 48%)
HSVhsv(238, 66%, 71%)
CMYKcmyk(65.7%, 64.1%, 0%, 29%)
CIE-LABlab(34.27, 35.63, -61.89)
CIE-LCHlch(34.27, 71.42, 299.93°)
OKLaboklab(44.79% 0.0165 -0.1785)
OKLCHoklch(44.79% 0.179 275.3)
XYZxyz(12.2146, 8.1399, 44.6346)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B5 #B5B23E
analogous
#3E7DB5 #3E41B5 #763EB5
triadic
#3E41B5 #B53E41 #41B53E
tetradic
#3E41B5 #B53E7D #B5B23E #3EB576
square
#3E41B5 #B53E7D #B5B23E #3EB576
split-complementary
#3E41B5 #B5763E #7DB53E
monochromatic
#1F205A #2E3187 #3E41B5 #6668CA #9395DA

Accessibility & contrast

On white

7.99
#3E41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E41B5
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B5#FFFFFF#000000##FFFFFF
##3E41B51.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e41b5;
/* rgb */ color: rgb(62, 65, 181);
/* oklch */ color: oklch(44.8% 0.179 275.3);
Tailwind
colors: {
  custom: {
    50: '#8276cc',
    500: '#3e41b5',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b5;
$custom-light: #8276cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b5",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 238.487,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.17924,
    "h": 275.3
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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