#3A50C4#3A50C4

#3A50C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.182 H 270.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3A50C4
RGBrgb(58, 80, 196)
HSLhsl(230, 54%, 50%)
HSVhsv(230, 70%, 77%)
CMYKcmyk(70.4%, 59.2%, 0%, 23.1%)
CIE-LABlab(38.93, 30.83, -63.10)
CIE-LCHlch(38.93, 70.23, 296.04°)
OKLaboklab(48.55% 0 -0.182)
OKLCHoklch(48.55% 0.182 270)
XYZxyz(14.5740, 10.6209, 53.4958)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50C4 #C4AE3A
analogous
#3A95C4 #3A50C4 #693AC4
triadic
#3A50C4 #C43A50 #50C43A
tetradic
#3A50C4 #C43A95 #C4AE3A #3AC469
square
#3A50C4 #C43A95 #C4AE3A #3AC469
split-complementary
#3A50C4 #C4693A #95C43A
monochromatic
#1E2966 #2C3D95 #3A50C4 #697AD3 #98A3E0

Accessibility & contrast

On white

6.72
#3A50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3A50C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50C4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50C4#FFFFFF#000000##FFFFFF
##3A50C41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a50c4;
/* rgb */ color: rgb(58, 80, 196);
/* oklch */ color: oklch(48.6% 0.182 270.0);
Tailwind
colors: {
  custom: {
    50: '#8280d7',
    500: '#3a50c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a50c4;
$custom-light: #8280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50c4",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 230.435,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.18199,
    "h": 270
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#3A50C4
secondary
#CCC28E
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A50C4

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

Preview Lab → · Contrast checker → · Palette generator →

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