#3A50AF#3A50AF

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

Color values

HEX#3A50AF
RGBrgb(58, 80, 175)
HSLhsl(229, 50%, 46%)
HSVhsv(229, 67%, 69%)
CMYKcmyk(66.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(37.36, 23.26, -53.34)
CIE-LCHlch(37.36, 58.19, 293.56°)
OKLaboklab(46.87% -0.0007 -0.1533)
OKLCHoklch(46.87% 0.153 269.7)
XYZxyz(12.3488, 9.7309, 41.7766)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A50AF #AF993A
analogous
#3A8AAF #3A50AF #5E3AAF
triadic
#3A50AF #AF3A50 #50AF3A
tetradic
#3A50AF #AF3A8A #AF993A #3AAF5E
square
#3A50AF #AF3A8A #AF993A #3AAF5E
split-complementary
#3A50AF #AF5E3A #8AAF3A
monochromatic
#1C2653 #2B3B81 #3A50AF #5D71C9 #8B99D9

Accessibility & contrast

On white

7.13
#3A50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3A50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A50AF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A50AF#FFFFFF#000000##FFFFFF
##3A50AF1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5DB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a50af;
/* rgb */ color: rgb(58, 80, 175);
/* oklch */ color: oklch(46.9% 0.153 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d80c8',
    500: '#3a50af',
    950: '#000000',
  },
}
SCSS
$custom: #3a50af;
$custom-light: #7d80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a50af",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 228.718,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.15329,
    "h": 269.7
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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