#3E47B2#3E47B2

#3E47B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.168 H 274.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3E47B2
RGBrgb(62, 71, 178)
HSLhsl(235, 48%, 47%)
HSVhsv(235, 65%, 70%)
CMYKcmyk(65.2%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.49, 30.80, -58.14)
CIE-LCHlch(35.49, 65.79, 297.91°)
OKLaboklab(45.61% 0.0117 -0.1674)
OKLCHoklch(45.61% 0.168 274)
XYZxyz(12.2731, 8.7439, 43.1518)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E47B2 #B2A93E
analogous
#3E81B2 #3E47B2 #6F3EB2
triadic
#3E47B2 #B23E47 #47B23E
tetradic
#3E47B2 #B23E81 #B2A93E #3EB26F
square
#3E47B2 #B23E81 #B2A93E #3EB26F
split-complementary
#3E47B2 #B26F3E #81B23E
monochromatic
#1E2357 #2E3585 #3E47B2 #646CC9 #9297D9

Accessibility & contrast

On white

7.64
#3E47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3E47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E47B2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E47B2#FFFFFF#000000##FFFFFF
##3E47B21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e47b2;
/* rgb */ color: rgb(62, 71, 178);
/* oklch */ color: oklch(45.6% 0.168 274.0);
Tailwind
colors: {
  custom: {
    50: '#817aca',
    500: '#3e47b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e47b2;
$custom-light: #817aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e47b2",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 235.345,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.16782,
    "h": 274
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#3E47B2
secondary
#C4BF88
accent
#CD50D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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