#3A3EA4#3A3EA4

#3A3EA4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.161 H 275.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3A3EA4
RGBrgb(58, 62, 164)
HSLhsl(238, 48%, 44%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(64.6%, 62.2%, 0%, 35.7%)
CIE-LABlab(31.86, 31.04, -55.69)
CIE-LCHlch(31.86, 63.76, 299.13°)
OKLaboklab(42.52% 0.0153 -0.1604)
OKLCHoklch(42.52% 0.161 275.4)
XYZxyz(10.1662, 7.0243, 35.9348)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EA4 #A4A03A
analogous
#3A73A4 #3A3EA4 #6B3AA4
triadic
#3A3EA4 #A43A3E #3EA43A
tetradic
#3A3EA4 #A43A73 #A4A03A #3AA46B
square
#3A3EA4 #A43A73 #A4A03A #3AA46B
split-complementary
#3A3EA4 #A46B3A #73A43A
monochromatic
#1A1C4A #2A2D77 #3A3EA4 #575CC4 #8588D4

Accessibility & contrast

On white

8.73
#3A3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EA4
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EA4#FFFFFF#000000##FFFFFF
##3A3EA41.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a3ea4;
/* rgb */ color: rgb(58, 62, 164);
/* oklch */ color: oklch(42.5% 0.161 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d73c0',
    500: '#3a3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ea4;
$custom-light: #7d73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ea4",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 237.736,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.16112,
    "h": 275.4
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#3A3EA4
secondary
#BEBB7C
accent
#D250D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3A3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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