#3E4EB5#3E4EB5

#3E4EB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.163 H 272.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3E4EB5
RGBrgb(62, 78, 181)
HSLhsl(232, 49%, 48%)
HSVhsv(232, 66%, 71%)
CMYKcmyk(65.7%, 56.9%, 0%, 29%)
CIE-LABlab(37.50, 27.35, -56.65)
CIE-LCHlch(37.50, 62.90, 295.77°)
OKLaboklab(47.18% 0.0056 -0.163)
OKLCHoklch(47.18% 0.163 272)
XYZxyz(13.0487, 9.8079, 44.9126)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EB5 #B5A53E
analogous
#3E89B5 #3E4EB5 #6A3EB5
triadic
#3E4EB5 #B53E4E #4EB53E
tetradic
#3E4EB5 #B53E89 #B5A53E #3EB56A
square
#3E4EB5 #B53E89 #B5A53E #3EB56A
split-complementary
#3E4EB5 #B56A3E #89B53E
monochromatic
#1F275A #2E3A87 #3E4EB5 #6673CA #939DDA

Accessibility & contrast

On white

7.09
#3E4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3E4EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EB5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EB5#FFFFFF#000000##FFFFFF
##3E4EB51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e4eb5;
/* rgb */ color: rgb(62, 78, 181);
/* oklch */ color: oklch(47.2% 0.163 272.0);
Tailwind
colors: {
  custom: {
    50: '#817fcc',
    500: '#3e4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eb5;
$custom-light: #817fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eb5",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 231.933,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.16304,
    "h": 272
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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