#3A50AE#3A50AE

#3A50AE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.152 H 269.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3A50AE
RGBrgb(58, 80, 174)
HSLhsl(229, 50%, 45%)
HSVhsv(229, 67%, 68%)
CMYKcmyk(66.7%, 54%, 0%, 31.8%)
CIE-LABlab(37.28, 22.90, -52.86)
CIE-LCHlch(37.28, 57.61, 293.42°)
OKLaboklab(46.79% -0.0007 -0.1519)
OKLCHoklch(46.79% 0.152 269.7)
XYZxyz(12.2510, 9.6917, 41.2613)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50AE #AE983A
analogous
#3A8AAE #3A50AE #5E3AAE
triadic
#3A50AE #AE3A50 #50AE3A
tetradic
#3A50AE #AE3A8A #AE983A #3AAE5E
square
#3A50AE #AE3A8A #AE983A #3AAE5E
split-complementary
#3A50AE #AE5E3A #8AAE3A
monochromatic
#1B2652 #2B3B80 #3A50AE #5C71C9 #8A99D8

Accessibility & contrast

On white

7.15
#3A50AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A50AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A50AE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50AE#FFFFFF#000000##FFFFFF
##3A50AE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a50ae;
/* rgb */ color: rgb(58, 80, 174);
/* oklch */ color: oklch(46.8% 0.152 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d80c7',
    500: '#3a50ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a50ae;
$custom-light: #7d80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50ae",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 228.621,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.15188,
    "h": 269.7
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#3A50AE
secondary
#C2B681
accent
#BF4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A50AE

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

Preview Lab → · Contrast checker → · Palette generator →

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