#3A529B#3A529B

#3A529B is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.122 H 267.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3A529B
RGBrgb(58, 82, 155)
HSLhsl(225, 46%, 42%)
HSVhsv(225, 63%, 61%)
CMYKcmyk(62.6%, 47.1%, 0%, 39.2%)
CIE-LABlab(36.56, 14.72, -42.69)
CIE-LCHlch(36.56, 45.15, 289.03°)
OKLaboklab(45.83% -0.0049 -0.1219)
OKLCHoklch(45.83% 0.122 267.7)
XYZxyz(10.6766, 9.2998, 32.2364)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A529B #9B833A
analogous
#3A839B #3A529B #533A9B
triadic
#3A529B #9B3A52 #529B3A
tetradic
#3A529B #9B3A83 #9B833A #3A9B53
square
#3A529B #9B3A83 #9B833A #3A9B53
split-complementary
#3A529B #9B533A #839B3A
monochromatic
#192342 #293A6E #3A529B #536EBF #8094CF

Accessibility & contrast

On white

7.34
#3A529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A529B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A529B#FFFFFF#000000##FFFFFF
##3A529B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a529b;
/* rgb */ color: rgb(58, 82, 155);
/* oklch */ color: oklch(45.8% 0.122 267.7);
Tailwind
colors: {
  custom: {
    50: '#7a82b9',
    500: '#3a529b',
    950: '#000000',
  },
}
SCSS
$custom: #3a529b;
$custom-light: #7a82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a529b",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 225.155,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.12202,
    "h": 267.7
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#3A529B
secondary
#B9A978
accent
#B553D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A529B

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

Preview Lab → · Contrast checker → · Palette generator →

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