#3E41D3#3E41D3

#3E41D3 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.217 H 273.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3E41D3
RGBrgb(62, 65, 211)
HSLhsl(239, 63%, 54%)
HSVhsv(239, 71%, 83%)
CMYKcmyk(70.6%, 69.2%, 0%, 17.3%)
CIE-LABlab(36.94, 45.74, -75.05)
CIE-LCHlch(36.94, 87.89, 301.36°)
OKLaboklab(47.55% 0.0134 -0.217)
OKLCHoklch(47.55% 0.217 273.5)
XYZxyz(15.6308, 9.5063, 62.6265)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41D3 #D3D03E
analogous
#3E8BD3 #3E41D3 #853ED3
triadic
#3E41D3 #D33E41 #41D33E
tetradic
#3E41D3 #D33E8B #D3D03E #3ED385
square
#3E41D3 #D33E8B #D3D03E #3ED385
split-complementary
#3E41D3 #D3853E #8BD33E
monochromatic
#1C1E7B #272AAC #3E41D3 #7072DE #A2A3EA

Accessibility & contrast

On white

7.24
#3E41D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3E41D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41D3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41D3#FFFFFF#000000##FFFFFF
##3E41D31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0050D0
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e41d3;
/* rgb */ color: rgb(62, 65, 211);
/* oklch */ color: oklch(47.5% 0.217 273.5);
Tailwind
colors: {
  custom: {
    50: '#8877e2',
    500: '#3e41d3',
    950: '#000000',
  },
}
SCSS
$custom: #3e41d3;
$custom-light: #8877e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41d3",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 238.792,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.21739,
    "h": 273.5
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#3E41D3
secondary
#D6D596
accent
#E342E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3E41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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