#3A52C7#3A52C7

#3A52C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.184 H 269.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3A52C7
RGBrgb(58, 82, 199)
HSLhsl(230, 56%, 50%)
HSVhsv(230, 71%, 78%)
CMYKcmyk(70.9%, 58.8%, 0%, 22%)
CIE-LABlab(39.67, 30.63, -63.64)
CIE-LCHlch(39.67, 70.63, 295.70°)
OKLaboklab(49.18% -0.0015 -0.1835)
OKLCHoklch(49.18% 0.184 269.5)
XYZxyz(15.0675, 11.0561, 55.3617)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52C7 #C7AF3A
analogous
#3A99C7 #3A52C7 #683AC7
triadic
#3A52C7 #C73A52 #52C73A
tetradic
#3A52C7 #C73A99 #C7AF3A #3AC768
square
#3A52C7 #C73A99 #C7AF3A #3AC768
split-complementary
#3A52C7 #C7683A #99C73A
monochromatic
#1E2B69 #2B3E98 #3A52C7 #6A7CD5 #99A6E2

Accessibility & contrast

On white

6.54
#3A52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A52C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52C7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52C7#FFFFFF#000000##FFFFFF
##3A52C71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a52c7;
/* rgb */ color: rgb(58, 82, 199);
/* oklch */ color: oklch(49.2% 0.184 269.5);
Tailwind
colors: {
  custom: {
    50: '#8282d9',
    500: '#3a52c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a52c7;
$custom-light: #8282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52c7",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 229.787,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.18356,
    "h": 269.5
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#3A52C7
secondary
#CEC38F
accent
#C549DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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