#3E4EBA#3E4EBA

#3E4EBA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.170 H 271.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3E4EBA
RGBrgb(62, 78, 186)
HSLhsl(232, 50%, 49%)
HSVhsv(232, 67%, 73%)
CMYKcmyk(66.7%, 58.1%, 0%, 27.1%)
CIE-LABlab(37.87, 29.12, -58.97)
CIE-LCHlch(37.87, 65.77, 296.28°)
OKLaboklab(47.58% 0.0056 -0.1698)
OKLCHoklch(47.58% 0.17 271.9)
XYZxyz(13.5709, 10.0168, 47.6631)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EBA #BAAA3E
analogous
#3E8CBA #3E4EBA #6C3EBA
triadic
#3E4EBA #BA3E4E #4EBA3E
tetradic
#3E4EBA #BA3E8C #BAAA3E #3EBA6C
square
#3E4EBA #BA3E8C #BAAA3E #3EBA6C
split-complementary
#3E4EBA #BA6C3E #8CBA3E
monochromatic
#1F285E #2F3B8C #3E4EBA #6875CD #969FDC

Accessibility & contrast

On white

6.99
#3E4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3E4EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EBA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EBA#FFFFFF#000000##FFFFFF
##3E4EBA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e4eba;
/* rgb */ color: rgb(62, 78, 186);
/* oklch */ color: oklch(47.6% 0.170 271.9);
Tailwind
colors: {
  custom: {
    50: '#827fd0',
    500: '#3e4eba',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eba;
$custom-light: #827fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eba",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 232.258,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.16988,
    "h": 271.9
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#3E4EBA
secondary
#C8C08C
accent
#C84EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3E4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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