#3A5CA5#3A5CA5

#3A5CA5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.124 H 263.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3A5CA5
RGBrgb(58, 92, 165)
HSLhsl(221, 48%, 44%)
HSVhsv(221, 65%, 65%)
CMYKcmyk(64.8%, 44.2%, 0%, 35.3%)
CIE-LABlab(40.03, 11.81, -43.10)
CIE-LCHlch(40.03, 44.69, 285.33°)
OKLaboklab(48.7% -0.0137 -0.123)
OKLCHoklch(48.7% 0.124 263.7)
XYZxyz(12.3612, 11.2693, 37.1138)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CA5 #A5833A
analogous
#3A91A5 #3A5CA5 #4D3AA5
triadic
#3A5CA5 #A53A5C #5CA53A
tetradic
#3A5CA5 #A53A91 #A5833A #3AA54D
square
#3A5CA5 #A53A91 #A5833A #3AA54D
split-complementary
#3A5CA5 #A54D3A #91A53A
monochromatic
#1A2A4A #2A4378 #3A5CA5 #587AC4 #859ED4

Accessibility & contrast

On white

6.45
#3A5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3A5CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CA5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CA5#FFFFFF#000000##FFFFFF
##3A5CA51.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#295AA3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5ca5;
/* rgb */ color: rgb(58, 92, 165);
/* oklch */ color: oklch(48.7% 0.124 263.7);
Tailwind
colors: {
  custom: {
    50: '#7b89c0',
    500: '#3a5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ca5;
$custom-light: #7b89c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ca5",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 220.935,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.12377,
    "h": 263.7
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#3A5CA5
secondary
#BEA97D
accent
#AD50D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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