#3A50C7#3A50C7

#3A50C7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.186 H 270.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3A50C7
RGBrgb(58, 80, 199)
HSLhsl(231, 56%, 50%)
HSVhsv(231, 71%, 78%)
CMYKcmyk(70.9%, 59.8%, 0%, 22%)
CIE-LABlab(39.17, 31.91, -64.46)
CIE-LCHlch(39.17, 71.92, 296.33°)
OKLaboklab(48.8% 0 -0.186)
OKLCHoklch(48.8% 0.186 270)
XYZxyz(14.9189, 10.7589, 55.3122)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50C7 #C7B13A
analogous
#3A97C7 #3A50C7 #6A3AC7
triadic
#3A50C7 #C73A50 #50C73A
tetradic
#3A50C7 #C73A97 #C7B13A #3AC76A
square
#3A50C7 #C73A97 #C7B13A #3AC76A
split-complementary
#3A50C7 #C76A3A #97C73A
monochromatic
#1E2969 #2B3C98 #3A50C7 #6A7AD5 #99A5E2

Accessibility & contrast

On white

6.66
#3A50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3A50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50C7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50C7#FFFFFF#000000##FFFFFF
##3A50C71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a50c7;
/* rgb */ color: rgb(58, 80, 199);
/* oklch */ color: oklch(48.8% 0.186 270.0);
Tailwind
colors: {
  custom: {
    50: '#8280d9',
    500: '#3a50c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a50c7;
$custom-light: #8280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50c7",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 230.638,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.18598,
    "h": 270
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#3A50C7
secondary
#CEC48F
accent
#C849DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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