#3E47A5#3E47A5

#3E47A5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.150 H 274.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3E47A5
RGBrgb(62, 71, 165)
HSLhsl(235, 45%, 45%)
HSVhsv(235, 62%, 65%)
CMYKcmyk(62.4%, 57%, 0%, 35.3%)
CIE-LABlab(34.49, 26.24, -52.01)
CIE-LCHlch(34.49, 58.25, 296.78°)
OKLaboklab(44.56% 0.0116 -0.1494)
OKLCHoklch(44.56% 0.15 274.5)
XYZxyz(11.0291, 8.2463, 36.6005)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E47A5 #A59C3E
analogous
#3E7BA5 #3E47A5 #693EA5
triadic
#3E47A5 #A53E47 #47A53E
tetradic
#3E47A5 #A53E7B #A59C3E #3EA569
square
#3E47A5 #A53E7B #A59C3E #3EA569
split-complementary
#3E47A5 #A5693E #7BA53E
monochromatic
#1D214C #2D3479 #3E47A5 #5E67C2 #8A91D3

Accessibility & contrast

On white

7.93
#3E47A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E47A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E47A5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E47A5#FFFFFF#000000##FFFFFF
##3E47A51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e47a5;
/* rgb */ color: rgb(62, 71, 165);
/* oklch */ color: oklch(44.6% 0.150 274.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ac0',
    500: '#3e47a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e47a5;
$custom-light: #7e7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e47a5",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 234.757,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.14983,
    "h": 274.5
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#3E47A5
secondary
#BEB881
accent
#CA53D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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