#3E4FAE#3E4FAE

#3E4FAE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.152 H 271.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3E4FAE
RGBrgb(62, 79, 174)
HSLhsl(231, 47%, 46%)
HSVhsv(231, 64%, 68%)
CMYKcmyk(64.4%, 54.6%, 0%, 31.8%)
CIE-LABlab(37.25, 24.22, -52.91)
CIE-LCHlch(37.25, 58.19, 294.60°)
OKLaboklab(46.83% 0.0043 -0.1519)
OKLCHoklch(46.83% 0.152 271.6)
XYZxyz(12.4200, 9.6710, 41.2484)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FAE #AE9D3E
analogous
#3E87AE #3E4FAE #653EAE
triadic
#3E4FAE #AE3E4F #4FAE3E
tetradic
#3E4FAE #AE3E87 #AE9D3E #3EAE65
square
#3E4FAE #AE3E87 #AE9D3E #3EAE65
split-complementary
#3E4FAE #AE653E #87AE3E
monochromatic
#1E2654 #2E3B81 #3E4FAE #6271C7 #8F9AD7

Accessibility & contrast

On white

7.16
#3E4FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3E4FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4FAE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FAE#FFFFFF#000000##FFFFFF
##3E4FAE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5DB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e4fae;
/* rgb */ color: rgb(62, 79, 174);
/* oklch */ color: oklch(46.8% 0.152 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f80c7',
    500: '#3e4fae',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fae;
$custom-light: #7f80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fae",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 230.893,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.15201,
    "h": 271.6
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#3E4FAE
secondary
#C2B986
accent
#C351D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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