#3E4EB6#3E4EB6

#3E4EB6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.164 H 271.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3E4EB6
RGBrgb(62, 78, 182)
HSLhsl(232, 49%, 48%)
HSVhsv(232, 66%, 71%)
CMYKcmyk(65.9%, 57.1%, 0%, 28.6%)
CIE-LABlab(37.57, 27.71, -57.11)
CIE-LCHlch(37.57, 63.48, 295.88°)
OKLaboklab(47.26% 0.0056 -0.1643)
OKLCHoklch(47.26% 0.164 271.9)
XYZxyz(13.1517, 9.8491, 45.4549)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EB6 #B6A63E
analogous
#3E8AB6 #3E4EB6 #6A3EB6
triadic
#3E4EB6 #B63E4E #4EB63E
tetradic
#3E4EB6 #B63E8A #B6A63E #3EB66A
square
#3E4EB6 #B63E8A #B6A63E #3EB66A
split-complementary
#3E4EB6 #B66A3E #8AB63E
monochromatic
#1F275B #2E3A88 #3E4EB6 #6674CB #949DDB

Accessibility & contrast

On white

7.07
#3E4EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3E4EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EB6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EB6#FFFFFF#000000##FFFFFF
##3E4EB61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e4eb6;
/* rgb */ color: rgb(62, 78, 182);
/* oklch */ color: oklch(47.3% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#817fcd',
    500: '#3e4eb6',
    950: '#000000',
  },
}
SCSS
$custom: #3e4eb6;
$custom-light: #817fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4eb6",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 232,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.16441,
    "h": 271.9
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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