#3A5CA1#3A5CA1

#3A5CA1 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.4% C 0.118 H 263.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3A5CA1
RGBrgb(58, 92, 161)
HSLhsl(220, 47%, 43%)
HSVhsv(220, 64%, 63%)
CMYKcmyk(64%, 42.9%, 0%, 36.9%)
CIE-LABlab(39.79, 10.37, -41.11)
CIE-LCHlch(39.79, 42.39, 284.16°)
OKLaboklab(48.44% -0.0145 -0.1171)
OKLCHoklch(48.44% 0.118 263)
XYZxyz(12.0028, 11.1259, 35.2263)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CA1 #A17F3A
analogous
#3A8FA1 #3A5CA1 #4B3AA1
triadic
#3A5CA1 #A13A5C #5CA13A
tetradic
#3A5CA1 #A13A8F #A17F3A #3AA14B
square
#3A5CA1 #A13A8F #A17F3A #3AA14B
split-complementary
#3A5CA1 #A14B3A #8FA13A
monochromatic
#1A2947 #2A4274 #3A5CA1 #567AC2 #839DD2

Accessibility & contrast

On white

6.51
#3A5CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3A5CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CA1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CA1#FFFFFF#000000##FFFFFF
##3A5CA11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5ca1;
/* rgb */ color: rgb(58, 92, 161);
/* oklch */ color: oklch(48.4% 0.118 263.0);
Tailwind
colors: {
  custom: {
    50: '#7a89bd',
    500: '#3a5ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ca1;
$custom-light: #7a89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ca1",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 220.194,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.11803,
    "h": 263
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#3A5CA1
secondary
#BCA77B
accent
#AB51D7
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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