#3A52BB#3A52BB

#3A52BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.167 H 269.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3A52BB
RGBrgb(58, 82, 187)
HSLhsl(229, 53%, 48%)
HSVhsv(229, 69%, 73%)
CMYKcmyk(69%, 56.1%, 0%, 26.7%)
CIE-LABlab(38.76, 26.30, -58.13)
CIE-LCHlch(38.76, 63.80, 294.35°)
OKLaboklab(48.21% -0.0018 -0.1673)
OKLCHoklch(48.21% 0.167 269.4)
XYZxyz(13.7288, 10.5206, 48.3112)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52BB #BBA33A
analogous
#3A92BB #3A52BB #623ABB
triadic
#3A52BB #BB3A52 #52BB3A
tetradic
#3A52BB #BB3A92 #BBA33A #3ABB62
square
#3A52BB #BB3A92 #BBA33A #3ABB62
split-complementary
#3A52BB #BB623A #92BB3A
monochromatic
#1D295E #2C3E8C #3A52BB #6377CF #92A0DD

Accessibility & contrast

On white

6.76
#3A52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3A52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52BB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52BB#FFFFFF#000000##FFFFFF
##3A52BB1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a52bb;
/* rgb */ color: rgb(58, 82, 187);
/* oklch */ color: oklch(48.2% 0.167 269.4);
Tailwind
colors: {
  custom: {
    50: '#8082d0',
    500: '#3a52bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a52bb;
$custom-light: #8082d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52bb",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 228.837,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.16736,
    "h": 269.4
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#3A52BB
secondary
#C8BC88
accent
#C14CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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