#3A52CC#3A52CC

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

Color values

HEX#3A52CC
RGBrgb(58, 82, 204)
HSLhsl(230, 59%, 51%)
HSVhsv(230, 72%, 80%)
CMYKcmyk(71.6%, 59.8%, 0%, 20%)
CIE-LABlab(40.07, 32.42, -65.89)
CIE-LCHlch(40.07, 73.44, 296.20°)
OKLaboklab(49.59% -0.0014 -0.1902)
OKLCHoklch(49.59% 0.19 269.6)
XYZxyz(15.6576, 11.2922, 58.4695)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52CC #CCB43A
analogous
#3A9BCC #3A52CC #6B3ACC
triadic
#3A52CC #CC3A52 #52CC3A
tetradic
#3A52CC #CC3A9B #CCB43A #3ACC6B
square
#3A52CC #CC3A9B #CCB43A #3ACC6B
split-complementary
#3A52CC #CC6B3A #9BCC3A
monochromatic
#1D2A6F #293DA0 #3A52CC #6B7DD9 #9BA7E5

Accessibility & contrast

On white

6.44
#3A52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52CC#FFFFFF#000000##FFFFFF
##3A52CC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a52cc;
/* rgb */ color: rgb(58, 82, 204);
/* oklch */ color: oklch(49.6% 0.190 269.6);
Tailwind
colors: {
  custom: {
    50: '#8382dc',
    500: '#3a52cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a52cc;
$custom-light: #8382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52cc",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 230.137,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.19018,
    "h": 269.6
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#3A52CC
secondary
#D1C791
accent
#C846E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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