#3A529E#3A529E

#3A529E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.126 H 268.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3A529E
RGBrgb(58, 82, 158)
HSLhsl(226, 46%, 42%)
HSVhsv(226, 63%, 62%)
CMYKcmyk(63.3%, 48.1%, 0%, 38%)
CIE-LABlab(36.75, 15.80, -44.18)
CIE-LCHlch(36.75, 46.92, 289.68°)
OKLaboklab(46.04% -0.0044 -0.1263)
OKLCHoklch(46.04% 0.126 268)
XYZxyz(10.9317, 9.4018, 33.5798)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A529E #9E863A
analogous
#3A849E #3A529E #543A9E
triadic
#3A529E #9E3A52 #529E3A
tetradic
#3A529E #9E3A84 #9E863A #3A9E54
square
#3A529E #9E3A84 #9E863A #3A9E54
split-complementary
#3A529E #9E543A #849E3A
monochromatic
#192444 #2A3B71 #3A529E #556FC0 #8195D1

Accessibility & contrast

On white

7.29
#3A529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A529E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A529E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A529E#FFFFFF#000000##FFFFFF
##3A529E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a529e;
/* rgb */ color: rgb(58, 82, 158);
/* oklch */ color: oklch(46.0% 0.126 268.0);
Tailwind
colors: {
  custom: {
    50: '#7a82bb',
    500: '#3a529e',
    950: '#000000',
  },
}
SCSS
$custom: #3a529e;
$custom-light: #7a82bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a529e",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 225.6,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.1264,
    "h": 268
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#3A529E
secondary
#BBAB79
accent
#B652D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A529E

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

Preview Lab → · Contrast checker → · Palette generator →

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