#3E41BB#3E41BB

#3E41BB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.187 H 274.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3E41BB
RGBrgb(62, 65, 187)
HSLhsl(239, 50%, 49%)
HSVhsv(239, 67%, 73%)
CMYKcmyk(66.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(34.79, 37.68, -64.60)
CIE-LCHlch(34.79, 74.78, 300.25°)
OKLaboklab(45.33% 0.0161 -0.1864)
OKLCHoklch(45.33% 0.187 274.9)
XYZxyz(12.8436, 8.3914, 47.9469)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41BB #BBB83E
analogous
#3E80BB #3E41BB #7A3EBB
triadic
#3E41BB #BB3E41 #41BB3E
tetradic
#3E41BB #BB3E80 #BBB83E #3EBB7A
square
#3E41BB #BB3E80 #BBB83E #3EBB7A
split-complementary
#3E41BB #BB7A3E #80BB3E
monochromatic
#20215F #2F318D #3E41BB #696BCD #9799DC

Accessibility & contrast

On white

7.84
#3E41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41BB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41BB#FFFFFF#000000##FFFFFF
##3E41BB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e41bb;
/* rgb */ color: rgb(62, 65, 187);
/* oklch */ color: oklch(45.3% 0.187 274.9);
Tailwind
colors: {
  custom: {
    50: '#8376d0',
    500: '#3e41bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e41bb;
$custom-light: #8376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41bb",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 238.56,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.1871,
    "h": 274.9
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#3E41BB
secondary
#C8C78D
accent
#D64EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3E41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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