#3E41B4#3E41B4

#3E41B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.178 H 275.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3E41B4
RGBrgb(62, 65, 180)
HSLhsl(238, 49%, 47%)
HSVhsv(238, 66%, 71%)
CMYKcmyk(65.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(34.19, 35.28, -61.44)
CIE-LCHlch(34.19, 70.85, 299.87°)
OKLaboklab(44.71% 0.0166 -0.1771)
OKLCHoklch(44.71% 0.178 275.4)
XYZxyz(12.1124, 8.0990, 44.0961)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B4 #B4B13E
analogous
#3E7CB4 #3E41B4 #763EB4
triadic
#3E41B4 #B43E41 #41B43E
tetradic
#3E41B4 #B43E7C #B4B13E #3EB476
square
#3E41B4 #B43E7C #B4B13E #3EB476
split-complementary
#3E41B4 #B4763E #7CB43E
monochromatic
#1F2059 #2E3186 #3E41B4 #6568CA #9395DA

Accessibility & contrast

On white

8.02
#3E41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3E41B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B4#FFFFFF#000000##FFFFFF
##3E41B41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e41b4;
/* rgb */ color: rgb(62, 65, 180);
/* oklch */ color: oklch(44.7% 0.178 275.4);
Tailwind
colors: {
  custom: {
    50: '#8176cb',
    500: '#3e41b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b4;
$custom-light: #8176cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b4",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 238.475,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.17793,
    "h": 275.4
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#3E41B4
secondary
#C5C389
accent
#D54FD8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3E41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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