#3A5BA2#3A5BA2

#3A5BA2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.121 H 263.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3A5BA2
RGBrgb(58, 91, 162)
HSLhsl(221, 47%, 43%)
HSVhsv(221, 64%, 64%)
CMYKcmyk(64.2%, 43.8%, 0%, 36.5%)
CIE-LABlab(39.56, 11.38, -42.07)
CIE-LCHlch(39.56, 43.58, 285.13°)
OKLaboklab(48.28% -0.0132 -0.12)
OKLCHoklch(48.28% 0.121 263.7)
XYZxyz(12.0053, 10.9893, 35.6639)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BA2 #A2813A
analogous
#3A8FA2 #3A5BA2 #4D3AA2
triadic
#3A5BA2 #A23A5B #5BA23A
tetradic
#3A5BA2 #A23A8F #A2813A #3AA24D
square
#3A5BA2 #A23A8F #A2813A #3AA24D
split-complementary
#3A5BA2 #A24D3A #8FA23A
monochromatic
#1A2848 #2A4275 #3A5BA2 #5779C3 #849DD3

Accessibility & contrast

On white

6.57
#3A5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3A5BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BA2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BA2#FFFFFF#000000##FFFFFF
##3A5BA21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a5ba2;
/* rgb */ color: rgb(58, 91, 162);
/* oklch */ color: oklch(48.3% 0.121 263.7);
Tailwind
colors: {
  custom: {
    50: '#7b89be',
    500: '#3a5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ba2;
$custom-light: #7b89be;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ba2",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 220.962,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.1207,
    "h": 263.7
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#3A5BA2
secondary
#BDA87B
accent
#AC51D7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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