#3A4EA4#3A4EA4

#3A4EA4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.140 H 270.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3A4EA4
RGBrgb(58, 78, 164)
HSLhsl(229, 48%, 44%)
HSVhsv(229, 65%, 64%)
CMYKcmyk(64.6%, 52.4%, 0%, 35.7%)
CIE-LABlab(36.04, 20.60, -48.92)
CIE-LCHlch(36.04, 53.08, 292.83°)
OKLaboklab(45.63% 0.0004 -0.1403)
OKLCHoklch(45.63% 0.14 270.1)
XYZxyz(11.1679, 9.0277, 36.2687)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EA4 #A4903A
analogous
#3A83A4 #3A4EA4 #5B3AA4
triadic
#3A4EA4 #A43A4E #4EA43A
tetradic
#3A4EA4 #A43A83 #A4903A #3AA45B
square
#3A4EA4 #A43A83 #A4903A #3AA45B
split-complementary
#3A4EA4 #A45B3A #83A43A
monochromatic
#1A234A #2A3877 #3A4EA4 #576CC4 #8594D4

Accessibility & contrast

On white

7.48
#3A4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4EA4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EA4#FFFFFF#000000##FFFFFF
##3A4EA41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4ea4;
/* rgb */ color: rgb(58, 78, 164);
/* oklch */ color: oklch(45.6% 0.140 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fc0',
    500: '#3a4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ea4;
$custom-light: #7b7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ea4",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 228.679,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.14031,
    "h": 270.1
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#3A4EA4
secondary
#BEB17C
accent
#BE50D7
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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