#3A52BF#3A52BF

#3A52BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.173 H 269.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3A52BF
RGBrgb(58, 82, 191)
HSLhsl(229, 53%, 49%)
HSVhsv(229, 70%, 75%)
CMYKcmyk(69.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.06, 27.75, -59.98)
CIE-LCHlch(39.06, 66.09, 294.83°)
OKLaboklab(48.52% -0.0016 -0.1728)
OKLCHoklch(48.52% 0.173 269.5)
XYZxyz(14.1630, 10.6943, 50.5979)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52BF #BFA73A
analogous
#3A95BF #3A52BF #653ABF
triadic
#3A52BF #BF3A52 #52BF3A
tetradic
#3A52BF #BF3A95 #BFA73A #3ABF65
square
#3A52BF #BF3A95 #BFA73A #3ABF65
split-complementary
#3A52BF #BF653A #95BF3A
monochromatic
#1D2A61 #2C3E90 #3A52BF #6679D0 #95A2DF

Accessibility & contrast

On white

6.69
#3A52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3A52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52BF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52BF#FFFFFF#000000##FFFFFF
##3A52BF1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a52bf;
/* rgb */ color: rgb(58, 82, 191);
/* oklch */ color: oklch(48.5% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#8182d3',
    500: '#3a52bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a52bf;
$custom-light: #8182d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52bf",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 229.173,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.17281,
    "h": 269.5
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#3A52BF
secondary
#CABF8B
accent
#C24BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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