#3E41D5#3E41D5

#3E41D5 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.220 H 273.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#3E41D5
RGBrgb(62, 65, 213)
HSLhsl(239, 64%, 54%)
HSVhsv(239, 71%, 84%)
CMYKcmyk(70.9%, 69.5%, 0%, 16.5%)
CIE-LABlab(37.13, 46.40, -75.89)
CIE-LCHlch(37.13, 88.96, 301.44°)
OKLaboklab(47.74% 0.0131 -0.2195)
OKLCHoklch(47.74% 0.22 273.4)
XYZxyz(15.8831, 9.6073, 63.9552)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41D5 #D5D23E
analogous
#3E8DD5 #3E41D5 #873ED5
triadic
#3E41D5 #D53E41 #41D53E
tetradic
#3E41D5 #D53E8D #D5D23E #3ED587
square
#3E41D5 #D53E8D #D5D23E #3ED587
split-complementary
#3E41D5 #D5873E #8DD53E
monochromatic
#1B1D7D #2629B0 #3E41D5 #7072E0 #A3A4EB

Accessibility & contrast

On white

7.19
#3E41D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3E41D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41D5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41D5#FFFFFF#000000##FFFFFF
##3E41D51.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0050D2
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e41d5;
/* rgb */ color: rgb(62, 65, 213);
/* oklch */ color: oklch(47.7% 0.220 273.4);
Tailwind
colors: {
  custom: {
    50: '#8877e3',
    500: '#3e41d5',
    950: '#000000',
  },
}
SCSS
$custom: #3e41d5;
$custom-light: #8877e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41d5",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 238.808,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.21985,
    "h": 273.4
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#3E41D5
secondary
#D8D697
accent
#E441E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3E41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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