#3E47A2#3E47A2

#3E47A2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.146 H 274.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3E47A2
RGBrgb(62, 71, 162)
HSLhsl(235, 45%, 44%)
HSVhsv(235, 62%, 64%)
CMYKcmyk(61.7%, 56.2%, 0%, 36.5%)
CIE-LABlab(34.27, 25.19, -50.57)
CIE-LCHlch(34.27, 56.49, 296.48°)
OKLaboklab(44.32% 0.0115 -0.1451)
OKLCHoklch(44.32% 0.146 274.5)
XYZxyz(10.7593, 8.1384, 35.1793)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E47A2 #A2993E
analogous
#3E79A2 #3E47A2 #673EA2
triadic
#3E47A2 #A23E47 #47A23E
tetradic
#3E47A2 #A23E79 #A2993E #3EA267
square
#3E47A2 #A23E79 #A2993E #3EA267
split-complementary
#3E47A2 #A2673E #79A23E
monochromatic
#1C2049 #2D3476 #3E47A2 #5C65C1 #898FD2

Accessibility & contrast

On white

7.99
#3E47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3E47A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E47A2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E47A2#FFFFFF#000000##FFFFFF
##3E47A21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e47a2;
/* rgb */ color: rgb(62, 71, 162);
/* oklch */ color: oklch(44.3% 0.146 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d7abe',
    500: '#3e47a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e47a2;
$custom-light: #7d7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e47a2",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 234.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.1456,
    "h": 274.5
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#3E47A2
secondary
#BCB780
accent
#C953D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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