#3A5EA4#3A5EA4

#3A5EA4 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.1% C 0.120 H 262.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3A5EA4
RGBrgb(58, 94, 164)
HSLhsl(220, 48%, 44%)
HSVhsv(220, 65%, 64%)
CMYKcmyk(64.6%, 42.7%, 0%, 35.7%)
CIE-LABlab(40.55, 10.16, -41.69)
CIE-LCHlch(40.55, 42.91, 283.70°)
OKLaboklab(49.08% -0.016 -0.1188)
OKLCHoklch(49.08% 0.12 262.3)
XYZxyz(12.4461, 11.5841, 36.6948)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA4 #A4803A
analogous
#3A93A4 #3A5EA4 #4B3AA4
triadic
#3A5EA4 #A43A5E #5EA43A
tetradic
#3A5EA4 #A43A93 #A4803A #3AA44B
square
#3A5EA4 #A43A93 #A4803A #3AA44B
split-complementary
#3A5EA4 #A44B3A #93A43A
monochromatic
#1A2A4A #2A4477 #3A5EA4 #577CC4 #85A0D4

Accessibility & contrast

On white

6.33
#3A5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3A5EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EA4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EA4#FFFFFF#000000##FFFFFF
##3A5EA41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5ea4;
/* rgb */ color: rgb(58, 94, 164);
/* oklch */ color: oklch(49.1% 0.120 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b8bbf',
    500: '#3a5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea4;
$custom-light: #7b8bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea4",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 219.623,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49076,
    "c": 0.11989,
    "h": 262.3
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#3A5EA4
secondary
#BEA77C
accent
#AA50D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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