#3E47AC#3E47AC

#3E47AC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.160 H 274.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3E47AC
RGBrgb(62, 71, 172)
HSLhsl(235, 47%, 46%)
HSVhsv(235, 64%, 67%)
CMYKcmyk(64%, 58.7%, 0%, 32.5%)
CIE-LABlab(35.02, 28.70, -55.33)
CIE-LCHlch(35.02, 62.33, 297.41°)
OKLaboklab(45.12% 0.0117 -0.1592)
OKLCHoklch(45.12% 0.16 274.2)
XYZxyz(11.6838, 8.5082, 40.0483)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E47AC #ACA33E
analogous
#3E7EAC #3E47AC #6C3EAC
triadic
#3E47AC #AC3E47 #47AC3E
tetradic
#3E47AC #AC3E7E #ACA33E #3EAC6C
square
#3E47AC #AC3E7E #ACA33E #3EAC6C
split-complementary
#3E47AC #AC6C3E #7EAC3E
monochromatic
#1E2252 #2E347F #3E47AC #6169C6 #8E94D6

Accessibility & contrast

On white

7.77
#3E47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3E47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E47AC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E47AC#FFFFFF#000000##FFFFFF
##3E47AC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e47ac;
/* rgb */ color: rgb(62, 71, 172);
/* oklch */ color: oklch(45.1% 0.160 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f7ac5',
    500: '#3e47ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e47ac;
$custom-light: #7f7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e47ac",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 235.091,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.15959,
    "h": 274.2
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#3E47AC
secondary
#C1BC85
accent
#CC51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3E47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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