#3A52BC#3A52BC

#3A52BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.169 H 269.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3A52BC
RGBrgb(58, 82, 188)
HSLhsl(229, 53%, 48%)
HSVhsv(229, 69%, 74%)
CMYKcmyk(69.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(38.84, 26.66, -58.59)
CIE-LCHlch(38.84, 64.37, 294.47°)
OKLaboklab(48.29% -0.0017 -0.1687)
OKLCHoklch(48.29% 0.169 269.4)
XYZxyz(13.8362, 10.5636, 48.8770)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52BC #BCA43A
analogous
#3A93BC #3A52BC #633ABC
triadic
#3A52BC #BC3A52 #52BC3A
tetradic
#3A52BC #BC3A93 #BCA43A #3ABC63
square
#3A52BC #BC3A93 #BCA43A #3ABC63
split-complementary
#3A52BC #BC633A #93BC3A
monochromatic
#1D295E #2C3E8D #3A52BC #6478CF #93A1DE

Accessibility & contrast

On white

6.75
#3A52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3A52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52BC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52BC#FFFFFF#000000##FFFFFF
##3A52BC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a52bc;
/* rgb */ color: rgb(58, 82, 188);
/* oklch */ color: oklch(48.3% 0.169 269.4);
Tailwind
colors: {
  custom: {
    50: '#8082d1',
    500: '#3a52bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a52bc;
$custom-light: #8082d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52bc",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 228.923,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.16872,
    "h": 269.4
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#3A52BC
secondary
#C9BD89
accent
#C24CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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