#3A50AB#3A50AB

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

Color values

HEX#3A50AB
RGBrgb(58, 80, 171)
HSLhsl(228, 49%, 45%)
HSVhsv(228, 66%, 67%)
CMYKcmyk(66.1%, 53.2%, 0%, 32.9%)
CIE-LABlab(37.07, 21.81, -51.43)
CIE-LCHlch(37.07, 55.86, 292.99°)
OKLaboklab(46.57% -0.001 -0.1477)
OKLCHoklch(46.57% 0.148 269.6)
XYZxyz(11.9618, 9.5760, 39.7382)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50AB #AB953A
analogous
#3A88AB #3A50AB #5D3AAB
triadic
#3A50AB #AB3A50 #50AB3A
tetradic
#3A50AB #AB3A88 #AB953A #3AAB5D
square
#3A50AB #AB3A88 #AB953A #3AAB5D
split-complementary
#3A50AB #AB5D3A #88AB3A
monochromatic
#1B2550 #2A3B7D #3A50AB #5B70C7 #8998D7

Accessibility & contrast

On white

7.20
#3A50AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A50AB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50AB#FFFFFF#000000##FFFFFF
##3A50AB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a50ab;
/* rgb */ color: rgb(58, 80, 171);
/* oklch */ color: oklch(46.6% 0.148 269.6);
Tailwind
colors: {
  custom: {
    50: '#7d80c5',
    500: '#3a50ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a50ab;
$custom-light: #7d80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50ab",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 228.319,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.14766,
    "h": 269.6
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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