#3A5CC1#3A5CC1

#3A5CC1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.163 H 266.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#3A5CC1
RGBrgb(58, 92, 193)
HSLhsl(225, 54%, 49%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(69.9%, 52.3%, 0%, 24.3%)
CIE-LABlab(41.85, 22.01, -56.63)
CIE-LCHlch(41.85, 60.75, 291.24°)
OKLaboklab(50.67% -0.0098 -0.1628)
OKLCHoklch(50.67% 0.163 266.5)
XYZxyz(15.1944, 12.4026, 52.0349)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CC1 #C19F3A
analogous
#3AA0C1 #3A5CC1 #5C3AC1
triadic
#3A5CC1 #C13A5C #5CC13A
tetradic
#3A5CC1 #C13AA0 #C19F3A #3AC15C
square
#3A5CC1 #C13AA0 #C19F3A #3AC15C
split-complementary
#3A5CC1 #C15C3A #A0C13A
monochromatic
#1E2F63 #2C4692 #3A5CC1 #6782D1 #96A8DF

Accessibility & contrast

On white

6.03
#3A5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3A5CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CC1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CC1#FFFFFF#000000##FFFFFF
##3A5CC11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5cc1;
/* rgb */ color: rgb(58, 92, 193);
/* oklch */ color: oklch(50.7% 0.163 266.5);
Tailwind
colors: {
  custom: {
    50: '#8089d4',
    500: '#3a5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cc1;
$custom-light: #8089d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cc1",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 224.889,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.16308,
    "h": 266.5
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#3A5CC1
secondary
#CBBB8C
accent
#B84BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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