#3A50BF#3A50BF

#3A50BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.175 H 270.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3A50BF
RGBrgb(58, 80, 191)
HSLhsl(230, 53%, 49%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(69.6%, 58.1%, 0%, 25.1%)
CIE-LABlab(38.55, 29.04, -60.82)
CIE-LCHlch(38.55, 67.39, 295.52°)
OKLaboklab(48.14% 0 -0.1753)
OKLCHoklch(48.14% 0.175 270)
XYZxyz(14.0143, 10.3971, 50.5484)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50BF #BFA93A
analogous
#3A93BF #3A50BF #673ABF
triadic
#3A50BF #BF3A50 #50BF3A
tetradic
#3A50BF #BF3A93 #BFA93A #3ABF67
square
#3A50BF #BF3A93 #BFA93A #3ABF67
split-complementary
#3A50BF #BF673A #93BF3A
monochromatic
#1D2961 #2C3C90 #3A50BF #6677D0 #95A1DF

Accessibility & contrast

On white

6.82
#3A50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A50BF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50BF#FFFFFF#000000##FFFFFF
##3A50BF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a50bf;
/* rgb */ color: rgb(58, 80, 191);
/* oklch */ color: oklch(48.1% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#8180d3',
    500: '#3a50bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a50bf;
$custom-light: #8180d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50bf",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 230.075,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.17528,
    "h": 270
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#3A50BF
secondary
#CAC08B
accent
#C54BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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