#3A50BC#3A50BC

#3A50BC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.171 H 270.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3A50BC
RGBrgb(58, 80, 188)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 69%, 74%)
CMYKcmyk(69.1%, 57.4%, 0%, 26.3%)
CIE-LABlab(38.32, 27.96, -59.44)
CIE-LCHlch(38.32, 65.68, 295.19°)
OKLaboklab(47.9% -0.0001 -0.1712)
OKLCHoklch(47.9% 0.171 270)
XYZxyz(13.6876, 10.2664, 48.8275)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50BC #BCA63A
analogous
#3A91BC #3A50BC #653ABC
triadic
#3A50BC #BC3A50 #50BC3A
tetradic
#3A50BC #BC3A91 #BCA63A #3ABC65
square
#3A50BC #BC3A91 #BCA63A #3ABC65
split-complementary
#3A50BC #BC653A #91BC3A
monochromatic
#1D285E #2C3C8D #3A50BC #6476CF #939FDE

Accessibility & contrast

On white

6.88
#3A50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50BC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50BC#FFFFFF#000000##FFFFFF
##3A50BC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a50bc;
/* rgb */ color: rgb(58, 80, 188);
/* oklch */ color: oklch(47.9% 0.171 270.0);
Tailwind
colors: {
  custom: {
    50: '#8080d1',
    500: '#3a50bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a50bc;
$custom-light: #8080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50bc",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 229.846,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47896,
    "c": 0.17122,
    "h": 270
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#3A50BC
secondary
#C9BE89
accent
#C44CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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