#3A4FA4#3A4FA4

#3A4FA4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.139 H 269.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3A4FA4
RGBrgb(58, 79, 164)
HSLhsl(228, 48%, 44%)
HSVhsv(228, 65%, 64%)
CMYKcmyk(64.6%, 51.8%, 0%, 35.7%)
CIE-LABlab(36.31, 19.94, -48.48)
CIE-LCHlch(36.31, 52.42, 292.36°)
OKLaboklab(45.84% -0.0006 -0.139)
OKLCHoklch(45.84% 0.139 269.7)
XYZxyz(11.2395, 9.1708, 36.2926)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FA4 #A48F3A
analogous
#3A84A4 #3A4FA4 #5A3AA4
triadic
#3A4FA4 #A43A4F #4FA43A
tetradic
#3A4FA4 #A43A84 #A48F3A #3AA45A
square
#3A4FA4 #A43A84 #A48F3A #3AA45A
split-complementary
#3A4FA4 #A45A3A #84A43A
monochromatic
#1A234A #2A3977 #3A4FA4 #576DC4 #8594D4

Accessibility & contrast

On white

7.41
#3A4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A4FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FA4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FA4#FFFFFF#000000##FFFFFF
##3A4FA41.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4fa4;
/* rgb */ color: rgb(58, 79, 164);
/* oklch */ color: oklch(45.8% 0.139 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b80c0',
    500: '#3a4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fa4;
$custom-light: #7b80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fa4",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 228.113,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.139,
    "h": 269.7
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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