#3E4FB5#3E4FB5

#3E4FB5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.162 H 271.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3E4FB5
RGBrgb(62, 79, 181)
HSLhsl(231, 49%, 48%)
HSVhsv(231, 66%, 71%)
CMYKcmyk(65.7%, 56.4%, 0%, 29%)
CIE-LABlab(37.75, 26.71, -56.22)
CIE-LCHlch(37.75, 62.25, 295.41°)
OKLaboklab(47.37% 0.0046 -0.1617)
OKLCHoklch(47.37% 0.162 271.6)
XYZxyz(13.1203, 9.9511, 44.9364)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FB5 #B5A43E
analogous
#3E8AB5 #3E4FB5 #693EB5
triadic
#3E4FB5 #B53E4F #4FB53E
tetradic
#3E4FB5 #B53E8A #B5A43E #3EB569
square
#3E4FB5 #B53E8A #B5A43E #3EB569
split-complementary
#3E4FB5 #B5693E #8AB53E
monochromatic
#1F275A #2E3B87 #3E4FB5 #6674CA #939DDA

Accessibility & contrast

On white

7.02
#3E4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3E4FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4FB5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FB5#FFFFFF#000000##FFFFFF
##3E4FB51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e4fb5;
/* rgb */ color: rgb(62, 79, 181);
/* oklch */ color: oklch(47.4% 0.162 271.6);
Tailwind
colors: {
  custom: {
    50: '#8180cc',
    500: '#3e4fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fb5;
$custom-light: #8180cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fb5",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 231.429,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.16177,
    "h": 271.6
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#3E4FB5
secondary
#C5BD89
accent
#C54FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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