#3A50CC#3A50CC

#3A50CC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.193 H 270.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3A50CC
RGBrgb(58, 80, 204)
HSLhsl(231, 59%, 51%)
HSVhsv(231, 72%, 80%)
CMYKcmyk(71.6%, 60.8%, 0%, 20%)
CIE-LABlab(39.57, 33.69, -66.70)
CIE-LCHlch(39.57, 74.73, 296.80°)
OKLaboklab(49.22% 0 -0.1926)
OKLCHoklch(49.22% 0.193 270)
XYZxyz(15.5089, 10.9949, 58.4199)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50CC #CCB63A
analogous
#3A99CC #3A50CC #6D3ACC
triadic
#3A50CC #CC3A50 #50CC3A
tetradic
#3A50CC #CC3A99 #CCB63A #3ACC6D
square
#3A50CC #CC3A99 #CCB63A #3ACC6D
split-complementary
#3A50CC #CC6D3A #99CC3A
monochromatic
#1D296F #293BA0 #3A50CC #6B7BD9 #9BA6E5

Accessibility & contrast

On white

6.56
#3A50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3A50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50CC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50CC#FFFFFF#000000##FFFFFF
##3A50CC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a50cc;
/* rgb */ color: rgb(58, 80, 204);
/* oklch */ color: oklch(49.2% 0.193 270.0);
Tailwind
colors: {
  custom: {
    50: '#8481dd',
    500: '#3a50cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a50cc;
$custom-light: #8481dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50cc",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 230.959,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.19256,
    "h": 270
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#3A50CC
secondary
#D1C791
accent
#CB46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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