#3A50C0#3A50C0

#3A50C0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.177 H 270.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3A50C0
RGBrgb(58, 80, 192)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(69.8%, 58.3%, 0%, 24.7%)
CIE-LABlab(38.62, 29.40, -61.28)
CIE-LCHlch(38.62, 67.96, 295.63°)
OKLaboklab(48.22% 0 -0.1766)
OKLCHoklch(48.22% 0.177 270)
XYZxyz(14.1248, 10.4412, 51.1299)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50C0 #C0AA3A
analogous
#3A93C0 #3A50C0 #673AC0
triadic
#3A50C0 #C03A50 #50C03A
tetradic
#3A50C0 #C03A93 #C0AA3A #3AC067
square
#3A50C0 #C03A93 #C0AA3A #3AC067
split-complementary
#3A50C0 #C0673A #93C03A
monochromatic
#1E2962 #2C3C91 #3A50C0 #6678D1 #95A1DF

Accessibility & contrast

On white

6.80
#3A50C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3A50C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50C0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50C0#FFFFFF#000000##FFFFFF
##3A50C01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a50c0;
/* rgb */ color: rgb(58, 80, 192);
/* oklch */ color: oklch(48.2% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#8180d4',
    500: '#3a50c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a50c0;
$custom-light: #8180d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50c0",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 192
  },
  "hsl": {
    "h": 230.149,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48221,
    "c": 0.17663,
    "h": 270
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#3A50C0
secondary
#CAC08B
accent
#C54BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A50C0

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

Preview Lab → · Contrast checker → · Palette generator →

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