#3A5FA4#3A5FA4

#3A5FA4 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.3% C 0.119 H 261.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3A5FA4
RGBrgb(58, 95, 164)
HSLhsl(219, 48%, 44%)
HSVhsv(219, 65%, 64%)
CMYKcmyk(64.6%, 42.1%, 0%, 35.7%)
CIE-LABlab(40.84, 9.52, -41.22)
CIE-LCHlch(40.84, 42.31, 283.01°)
OKLaboklab(49.3% -0.017 -0.1174)
OKLCHoklch(49.3% 0.119 261.8)
XYZxyz(12.5356, 11.7631, 36.7247)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FA4 #A47F3A
analogous
#3A94A4 #3A5FA4 #4A3AA4
triadic
#3A5FA4 #A43A5F #5FA43A
tetradic
#3A5FA4 #A43A94 #A47F3A #3AA44A
square
#3A5FA4 #A43A94 #A47F3A #3AA44A
split-complementary
#3A5FA4 #A44A3A #94A43A
monochromatic
#1A2B4A #2A4577 #3A5FA4 #577DC4 #85A0D4

Accessibility & contrast

On white

6.26
#3A5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FA4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FA4#FFFFFF#000000##FFFFFF
##3A5FA41.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5fa4;
/* rgb */ color: rgb(58, 95, 164);
/* oklch */ color: oklch(49.3% 0.119 261.8);
Tailwind
colors: {
  custom: {
    50: '#7b8cbf',
    500: '#3a5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fa4;
$custom-light: #7b8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fa4",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 219.057,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.493,
    "c": 0.11868,
    "h": 261.8
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#3A5FA4
secondary
#BEA77C
accent
#A850D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3A5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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