#3A5CC2#3A5CC2

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

Color values

HEX#3A5CC2
RGBrgb(58, 92, 194)
HSLhsl(225, 54%, 49%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(70.1%, 52.6%, 0%, 23.9%)
CIE-LABlab(41.92, 22.38, -57.09)
CIE-LCHlch(41.92, 61.32, 291.40°)
OKLaboklab(50.74% -0.0098 -0.1642)
OKLCHoklch(50.74% 0.164 266.6)
XYZxyz(15.3063, 12.4473, 52.6244)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CC2 #C2A03A
analogous
#3AA0C2 #3A5CC2 #5C3AC2
triadic
#3A5CC2 #C23A5C #5CC23A
tetradic
#3A5CC2 #C23AA0 #C2A03A #3AC25C
square
#3A5CC2 #C23AA0 #C2A03A #3AC25C
split-complementary
#3A5CC2 #C25C3A #A0C23A
monochromatic
#1E2F64 #2C4693 #3A5CC2 #6782D2 #97A9E0

Accessibility & contrast

On white

6.02
#3A5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3A5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CC2#FFFFFF#000000##FFFFFF
##3A5CC21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5cc2;
/* rgb */ color: rgb(58, 92, 194);
/* oklch */ color: oklch(50.7% 0.164 266.6);
Tailwind
colors: {
  custom: {
    50: '#8189d5',
    500: '#3a5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cc2;
$custom-light: #8189d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cc2",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 225,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.16445,
    "h": 266.6
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#3A5CC2
secondary
#CBBC8D
accent
#B94ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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