#3A50DC#3A50DC

#3A50DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.6% C 0.213 H 269.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3A50DC
RGBrgb(58, 80, 220)
HSLhsl(232, 70%, 55%)
HSVhsv(232, 74%, 86%)
CMYKcmyk(73.6%, 63.6%, 0%, 13.7%)
CIE-LABlab(40.90, 39.34, -73.73)
CIE-LCHlch(40.90, 83.56, 298.08°)
OKLaboklab(50.61% -0.0005 -0.2131)
OKLCHoklch(50.61% 0.213 269.9)
XYZxyz(17.5274, 11.8023, 69.0506)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50DC #DCC63A
analogous
#3AA1DC #3A50DC #753ADC
triadic
#3A50DC #DC3A50 #50DC3A
tetradic
#3A50DC #DC3AA1 #DCC63A #3ADC75
square
#3A50DC #DC3AA1 #DCC63A #3ADC75
split-complementary
#3A50DC #DC753A #A1DC3A
monochromatic
#172684 #2135B8 #3A50DC #6E7EE5 #A2ACEE

Accessibility & contrast

On white

6.25
#3A50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3A50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50DC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50DC#FFFFFF#000000##FFFFFF
##3A50DC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a50dc;
/* rgb */ color: rgb(58, 80, 220);
/* oklch */ color: oklch(50.6% 0.213 269.9);
Tailwind
colors: {
  custom: {
    50: '#8781e8',
    500: '#3a50dc',
    950: '#000000',
  },
}
SCSS
$custom: #3a50dc;
$custom-light: #8781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50dc",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 231.852,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.21315,
    "h": 269.9
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#3A50DC
secondary
#DBD297
accent
#D53BED
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3A50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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