#3A5CA2#3A5CA2

#3A5CA2 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.5% C 0.119 H 263.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3A5CA2
RGBrgb(58, 92, 162)
HSLhsl(220, 47%, 43%)
HSVhsv(220, 64%, 64%)
CMYKcmyk(64.2%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.85, 10.73, -41.61)
CIE-LCHlch(39.85, 42.97, 284.46°)
OKLaboklab(48.5% -0.0143 -0.1186)
OKLCHoklch(48.5% 0.119 263.1)
XYZxyz(12.0914, 11.1614, 35.6926)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CA2 #A2803A
analogous
#3A90A2 #3A5CA2 #4C3AA2
triadic
#3A5CA2 #A23A5C #5CA23A
tetradic
#3A5CA2 #A23A90 #A2803A #3AA24C
square
#3A5CA2 #A23A90 #A2803A #3AA24C
split-complementary
#3A5CA2 #A24C3A #90A23A
monochromatic
#1A2948 #2A4275 #3A5CA2 #577AC3 #849DD3

Accessibility & contrast

On white

6.50
#3A5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5CA2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CA2#FFFFFF#000000##FFFFFF
##3A5CA21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#2C59A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5ca2;
/* rgb */ color: rgb(58, 92, 162);
/* oklch */ color: oklch(48.5% 0.119 263.1);
Tailwind
colors: {
  custom: {
    50: '#7a89be',
    500: '#3a5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ca2;
$custom-light: #7a89be;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ca2",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 220.385,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.11947,
    "h": 263.1
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#3A5CA2
secondary
#BDA77B
accent
#AB51D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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