#3A50C9#3A50C9

#3A50C9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.189 H 270.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A50C9
RGBrgb(58, 80, 201)
HSLhsl(231, 57%, 51%)
HSVhsv(231, 71%, 79%)
CMYKcmyk(71.1%, 60.2%, 0%, 21.2%)
CIE-LABlab(39.33, 32.62, -65.36)
CIE-LCHlch(39.33, 73.05, 296.52°)
OKLaboklab(48.97% 0 -0.1886)
OKLCHoklch(48.97% 0.189 270)
XYZxyz(15.1526, 10.8524, 56.5432)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50C9 #C9B33A
analogous
#3A97C9 #3A50C9 #6B3AC9
triadic
#3A50C9 #C93A50 #50C93A
tetradic
#3A50C9 #C93A97 #C9B33A #3AC96B
square
#3A50C9 #C93A97 #C9B33A #3AC96B
split-complementary
#3A50C9 #C96B3A #97C93A
monochromatic
#1D296B #2B3C9B #3A50C9 #6A7BD6 #9AA5E3

Accessibility & contrast

On white

6.62
#3A50C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A50C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50C9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50C9#FFFFFF#000000##FFFFFF
##3A50C91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a50c9;
/* rgb */ color: rgb(58, 80, 201);
/* oklch */ color: oklch(49.0% 0.189 270.0);
Tailwind
colors: {
  custom: {
    50: '#8381da',
    500: '#3a50c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a50c9;
$custom-light: #8381da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50c9",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 201
  },
  "hsl": {
    "h": 230.769,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.18862,
    "h": 270
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#3A50C9
secondary
#CFC590
accent
#C948E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A50C9

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

Preview Lab → · Contrast checker → · Palette generator →

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