#3A50C2#3A50C2

#3A50C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.179 H 270.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3A50C2
RGBrgb(58, 80, 194)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 76%)
CMYKcmyk(70.1%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.78, 30.11, -62.19)
CIE-LCHlch(38.78, 69.10, 295.84°)
OKLaboklab(48.39% 0 -0.1793)
OKLCHoklch(48.39% 0.179 270)
XYZxyz(14.3479, 10.5305, 52.3049)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50C2 #C2AC3A
analogous
#3A94C2 #3A50C2 #683AC2
triadic
#3A50C2 #C23A50 #50C23A
tetradic
#3A50C2 #C23A94 #C2AC3A #3AC268
square
#3A50C2 #C23A94 #C2AC3A #3AC268
split-complementary
#3A50C2 #C2683A #94C23A
monochromatic
#1E2964 #2C3D93 #3A50C2 #6779D2 #97A2E0

Accessibility & contrast

On white

6.76
#3A50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3A50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50C2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50C2#FFFFFF#000000##FFFFFF
##3A50C21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a50c2;
/* rgb */ color: rgb(58, 80, 194);
/* oklch */ color: oklch(48.4% 0.179 270.0);
Tailwind
colors: {
  custom: {
    50: '#8180d5',
    500: '#3a50c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a50c2;
$custom-light: #8180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50c2",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 230.294,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.17932,
    "h": 270
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#3A50C2
secondary
#CBC18D
accent
#C64ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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