#3A50AC#3A50AC

#3A50AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.149 H 269.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3A50AC
RGBrgb(58, 80, 172)
HSLhsl(228, 50%, 45%)
HSVhsv(228, 66%, 67%)
CMYKcmyk(66.3%, 53.5%, 0%, 32.5%)
CIE-LABlab(37.14, 22.18, -51.91)
CIE-LCHlch(37.14, 56.44, 293.13°)
OKLaboklab(46.64% -0.0009 -0.1491)
OKLCHoklch(46.64% 0.149 269.7)
XYZxyz(12.0574, 9.6143, 40.2421)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50AC #AC963A
analogous
#3A89AC #3A50AC #5D3AAC
triadic
#3A50AC #AC3A50 #50AC3A
tetradic
#3A50AC #AC3A89 #AC963A #3AAC5D
square
#3A50AC #AC3A89 #AC963A #3AAC5D
split-complementary
#3A50AC #AC5D3A #89AC3A
monochromatic
#1B2550 #2B3B7E #3A50AC #5B70C8 #8998D7

Accessibility & contrast

On white

7.18
#3A50AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3A50AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A50AC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50AC#FFFFFF#000000##FFFFFF
##3A50AC1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a50ac;
/* rgb */ color: rgb(58, 80, 172);
/* oklch */ color: oklch(46.6% 0.149 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d80c5',
    500: '#3a50ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a50ac;
$custom-light: #7d80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50ac",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 172
  },
  "hsl": {
    "h": 228.421,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.14907,
    "h": 269.7
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#3A50AC
secondary
#C2B580
accent
#BE4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A50AC

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

Preview Lab → · Contrast checker → · Palette generator →

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