#3A5DA4#3A5DA4

#3A5DA4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.121 H 262.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3A5DA4
RGBrgb(58, 93, 164)
HSLhsl(220, 48%, 44%)
HSVhsv(220, 65%, 64%)
CMYKcmyk(64.6%, 43.3%, 0%, 35.7%)
CIE-LABlab(40.26, 10.81, -42.15)
CIE-LCHlch(40.26, 43.51, 284.38°)
OKLaboklab(48.85% -0.0149 -0.1202)
OKLCHoklch(48.85% 0.121 262.9)
XYZxyz(12.3578, 11.4074, 36.6654)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DA4 #A4813A
analogous
#3A92A4 #3A5DA4 #4C3AA4
triadic
#3A5DA4 #A43A5D #5DA43A
tetradic
#3A5DA4 #A43A92 #A4813A #3AA44C
square
#3A5DA4 #A43A92 #A4813A #3AA44C
split-complementary
#3A5DA4 #A44C3A #92A43A
monochromatic
#1A2A4A #2A4377 #3A5DA4 #577BC4 #859FD4

Accessibility & contrast

On white

6.40
#3A5DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3A5DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DA4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DA4#FFFFFF#000000##FFFFFF
##3A5DA41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#2C5AA3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5da4;
/* rgb */ color: rgb(58, 93, 164);
/* oklch */ color: oklch(48.9% 0.121 262.9);
Tailwind
colors: {
  custom: {
    50: '#7b8abf',
    500: '#3a5da4',
    950: '#000000',
  },
}
SCSS
$custom: #3a5da4;
$custom-light: #7b8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5da4",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 220.189,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.1211,
    "h": 262.9
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#3A5DA4
secondary
#BEA87C
accent
#AB50D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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