#3E4FAD#3E4FAD

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

Color values

HEX#3E4FAD
RGBrgb(62, 79, 173)
HSLhsl(231, 47%, 46%)
HSVhsv(231, 64%, 68%)
CMYKcmyk(64.2%, 54.3%, 0%, 32.2%)
CIE-LABlab(37.17, 23.86, -52.43)
CIE-LCHlch(37.17, 57.61, 294.47°)
OKLaboklab(46.75% 0.0043 -0.1505)
OKLCHoklch(46.75% 0.151 271.6)
XYZxyz(12.3229, 9.6322, 40.7369)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FAD #AD9C3E
analogous
#3E86AD #3E4FAD #643EAD
triadic
#3E4FAD #AD3E4F #4FAD3E
tetradic
#3E4FAD #AD3E86 #AD9C3E #3EAD64
square
#3E4FAD #AD3E86 #AD9C3E #3EAD64
split-complementary
#3E4FAD #AD643E #86AD3E
monochromatic
#1E2653 #2E3A80 #3E4FAD #6271C7 #8F9AD7

Accessibility & contrast

On white

7.18
#3E4FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E4FAD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FAD#FFFFFF#000000##FFFFFF
##3E4FAD1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e4fad;
/* rgb */ color: rgb(62, 79, 173);
/* oklch */ color: oklch(46.8% 0.151 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f80c6',
    500: '#3e4fad',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fad;
$custom-light: #7f80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fad",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 230.811,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.15061,
    "h": 271.6
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#3E4FAD
secondary
#C2B885
accent
#C251D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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