#3A5CA3#3A5CA3

#3A5CA3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.121 H 263.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3A5CA3
RGBrgb(58, 92, 163)
HSLhsl(221, 48%, 43%)
HSVhsv(221, 64%, 64%)
CMYKcmyk(64.4%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.91, 11.09, -42.11)
CIE-LCHlch(39.91, 43.54, 284.76°)
OKLaboklab(48.57% -0.0141 -0.1201)
OKLCHoklch(48.57% 0.121 263.3)
XYZxyz(12.1806, 11.1971, 36.1626)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CA3 #A3813A
analogous
#3A90A3 #3A5CA3 #4C3AA3
triadic
#3A5CA3 #A33A5C #5CA33A
tetradic
#3A5CA3 #A33A90 #A3813A #3AA34C
square
#3A5CA3 #A33A90 #A3813A #3AA34C
split-complementary
#3A5CA3 #A34C3A #90A33A
monochromatic
#1A2949 #2A4376 #3A5CA3 #577AC3 #849ED3

Accessibility & contrast

On white

6.48
#3A5CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3A5CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CA3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CA3#FFFFFF#000000##FFFFFF
##3A5CA31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5ca3;
/* rgb */ color: rgb(58, 92, 163);
/* oklch */ color: oklch(48.6% 0.121 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b89bf',
    500: '#3a5ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ca3;
$custom-light: #7b89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ca3",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 220.571,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.1209,
    "h": 263.3
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#3A5CA3
secondary
#BDA87C
accent
#AC51D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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