#3E41BA#3E41BA

#3E41BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.186 H 275.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3E41BA
RGBrgb(62, 65, 186)
HSLhsl(239, 50%, 49%)
HSVhsv(239, 67%, 73%)
CMYKcmyk(66.7%, 65.1%, 0%, 27.1%)
CIE-LABlab(34.70, 37.34, -64.15)
CIE-LCHlch(34.70, 74.22, 300.20°)
OKLaboklab(45.24% 0.0162 -0.1851)
OKLCHoklch(45.24% 0.186 275)
XYZxyz(12.7369, 8.3488, 47.3851)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41BA #BAB73E
analogous
#3E7FBA #3E41BA #793EBA
triadic
#3E41BA #BA3E41 #41BA3E
tetradic
#3E41BA #BA3E7F #BAB73E #3EBA79
square
#3E41BA #BA3E7F #BAB73E #3EBA79
split-complementary
#3E41BA #BA793E #7FBA3E
monochromatic
#1F215E #2F318C #3E41BA #686BCD #9698DC

Accessibility & contrast

On white

7.87
#3E41BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3E41BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41BA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41BA#FFFFFF#000000##FFFFFF
##3E41BA1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e41ba;
/* rgb */ color: rgb(62, 65, 186);
/* oklch */ color: oklch(45.2% 0.186 275.0);
Tailwind
colors: {
  custom: {
    50: '#8376d0',
    500: '#3e41ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e41ba;
$custom-light: #8376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41ba",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 238.548,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.1858,
    "h": 275
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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