#3A52CD#3A52CD

#3A52CD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.191 H 269.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3A52CD
RGBrgb(58, 82, 205)
HSLhsl(230, 60%, 52%)
HSVhsv(230, 72%, 80%)
CMYKcmyk(71.7%, 60%, 0%, 19.6%)
CIE-LABlab(40.15, 32.78, -66.34)
CIE-LCHlch(40.15, 74.00, 296.29°)
OKLaboklab(49.67% -0.0014 -0.1915)
OKLCHoklch(49.67% 0.191 269.6)
XYZxyz(15.7779, 11.3403, 59.1031)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52CD #CDB53A
analogous
#3A9CCD #3A52CD #6C3ACD
triadic
#3A52CD #CD3A52 #52CD3A
tetradic
#3A52CD #CD3A9C #CDB53A #3ACD6C
square
#3A52CD #CD3A9C #CDB53A #3ACD6C
split-complementary
#3A52CD #CD6C3A #9CCD3A
monochromatic
#1C2A70 #293CA1 #3A52CD #6B7DD9 #9CA8E6

Accessibility & contrast

On white

6.43
#3A52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3A52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52CD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52CD#FFFFFF#000000##FFFFFF
##3A52CD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a52cd;
/* rgb */ color: rgb(58, 82, 205);
/* oklch */ color: oklch(49.7% 0.191 269.6);
Tailwind
colors: {
  custom: {
    50: '#8482dd',
    500: '#3a52cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a52cd;
$custom-light: #8482dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52cd",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 230.204,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.19149,
    "h": 269.6
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#3A52CD
secondary
#D2C791
accent
#C945E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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