#3E47A4#3E47A4

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

Color values

HEX#3E47A4
RGBrgb(62, 71, 164)
HSLhsl(235, 45%, 44%)
HSVhsv(235, 62%, 64%)
CMYKcmyk(62.2%, 56.7%, 0%, 35.7%)
CIE-LABlab(34.42, 25.89, -51.53)
CIE-LCHlch(34.42, 57.67, 296.68°)
OKLaboklab(44.48% 0.0116 -0.148)
OKLCHoklch(44.48% 0.148 274.5)
XYZxyz(10.9385, 8.2101, 36.1230)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E47A4 #A49B3E
analogous
#3E7AA4 #3E47A4 #683EA4
triadic
#3E47A4 #A43E47 #47A43E
tetradic
#3E47A4 #A43E7A #A49B3E #3EA468
square
#3E47A4 #A43E7A #A49B3E #3EA468
split-complementary
#3E47A4 #A4683E #7AA43E
monochromatic
#1C214B #2D3478 #3E47A4 #5D66C2 #8A90D3

Accessibility & contrast

On white

7.95
#3E47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E47A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E47A4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E47A4#FFFFFF#000000##FFFFFF
##3E47A41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e47a4;
/* rgb */ color: rgb(62, 71, 164);
/* oklch */ color: oklch(44.5% 0.148 274.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ac0',
    500: '#3e47a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e47a4;
$custom-light: #7e7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e47a4",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 234.706,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.14842,
    "h": 274.5
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#3E47A4
secondary
#BDB881
accent
#C953D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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