#3E41B3#3E41B3

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

Color values

HEX#3E41B3
RGBrgb(62, 65, 179)
HSLhsl(238, 49%, 47%)
HSVhsv(238, 65%, 70%)
CMYKcmyk(65.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(34.10, 34.94, -60.98)
CIE-LCHlch(34.10, 70.29, 299.81°)
OKLaboklab(44.62% 0.0167 -0.1758)
OKLCHoklch(44.62% 0.177 275.4)
XYZxyz(12.0109, 8.0584, 43.5615)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41B3 #B3B03E
analogous
#3E7BB3 #3E41B3 #763EB3
triadic
#3E41B3 #B33E41 #41B33E
tetradic
#3E41B3 #B33E7B #B3B03E #3EB376
square
#3E41B3 #B33E7B #B3B03E #3EB376
split-complementary
#3E41B3 #B3763E #7BB33E
monochromatic
#1F2058 #2E3086 #3E41B3 #6567CA #9294D9

Accessibility & contrast

On white

8.04
#3E41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3E41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41B3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41B3#FFFFFF#000000##FFFFFF
##3E41B31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e41b3;
/* rgb */ color: rgb(62, 65, 179);
/* oklch */ color: oklch(44.6% 0.177 275.4);
Tailwind
colors: {
  custom: {
    50: '#8176cb',
    500: '#3e41b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e41b3;
$custom-light: #8176cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41b3",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 238.462,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.1766,
    "h": 275.4
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#3E41B3
secondary
#C5C388
accent
#D550D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3E41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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