#3526A5#3526A5

#3526A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.191 H 277.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3526A5
RGBrgb(53, 38, 165)
HSLhsl(247, 63%, 40%)
HSVhsv(247, 77%, 65%)
CMYKcmyk(67.9%, 77%, 0%, 35.3%)
CIE-LABlab(26.33, 45.03, -65.39)
CIE-LCHlch(26.33, 79.39, 304.55°)
OKLaboklab(38.46% 0.026 -0.1889)
OKLCHoklch(38.46% 0.191 277.8)
XYZxyz(8.9506, 4.8589, 36.0562)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3526A5 #96A526
analogous
#2656A5 #3526A5 #7526A5
triadic
#3526A5 #A53526 #26A535
tetradic
#3526A5 #A52656 #96A526 #26A575
square
#3526A5 #A52656 #96A526 #26A575
split-complementary
#3526A5 #A57526 #56A526
monochromatic
#150F42 #251B73 #3526A5 #4937D1 #7769DC

Accessibility & contrast

On white

10.65
#3526A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3526A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3526A5
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3526A5#FFFFFF#000000##FFFFFF
##3526A51.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3526a5;
/* rgb */ color: rgb(53, 38, 165);
/* oklch */ color: oklch(38.5% 0.191 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d63c1',
    500: '#3526a5',
    950: '#000000',
  },
}
SCSS
$custom: #3526a5;
$custom-light: #7d63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3526a5",
  "rgb": {
    "r": 53,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 247.087,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.19068,
    "h": 277.8
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#3526A5
secondary
#B7C364
accent
#E642D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3526A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3526A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva