#3E30A4#3E30A4

#3E30A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.177 H 280.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3E30A4
RGBrgb(62, 48, 164)
HSLhsl(247, 55%, 42%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(62.2%, 70.7%, 0%, 35.7%)
CIE-LABlab(28.95, 40.26, -60.45)
CIE-LCHlch(28.95, 72.62, 303.66°)
OKLaboklab(40.48% 0.032 -0.1743)
OKLCHoklch(40.48% 0.177 280.4)
XYZxyz(9.7423, 5.8177, 35.7243)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30A4 #96A430
analogous
#305CA4 #3E30A4 #7830A4
triadic
#3E30A4 #A43E30 #30A43E
tetradic
#3E30A4 #A4305C #96A430 #30A478
square
#3E30A4 #A4305C #96A430 #30A478
split-complementary
#3E30A4 #A47830 #5CA430
monochromatic
#1A1445 #2C2275 #3E30A4 #5748C9 #8377D7

Accessibility & contrast

On white

9.71
#3E30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30A4
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30A4#FFFFFF#000000##FFFFFF
##3E30A41.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e30a4;
/* rgb */ color: rgb(62, 48, 164);
/* oklch */ color: oklch(40.5% 0.177 280.4);
Tailwind
colors: {
  custom: {
    50: '#806ac0',
    500: '#3e30a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e30a4;
$custom-light: #806ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30a4",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 247.241,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40477,
    "c": 0.17719,
    "h": 280.4
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#3E30A4
secondary
#B6BF70
accent
#DE4ACC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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