#3B52C2#3B52C2

#3B52C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.177 H 269.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3B52C2
RGBrgb(59, 82, 194)
HSLhsl(230, 53%, 50%)
HSVhsv(230, 70%, 76%)
CMYKcmyk(69.6%, 57.7%, 0%, 23.9%)
CIE-LABlab(39.34, 28.97, -61.27)
CIE-LCHlch(39.34, 67.78, 295.30°)
OKLaboklab(48.82% -0.0006 -0.1766)
OKLCHoklch(48.82% 0.177 269.8)
XYZxyz(14.5552, 10.8580, 52.3572)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52C2 #C2AB3B
analogous
#3B96C2 #3B52C2 #683BC2
triadic
#3B52C2 #C23B52 #52C23B
tetradic
#3B52C2 #C23B96 #C2AB3B #3BC268
square
#3B52C2 #C23B96 #C2AB3B #3BC268
split-complementary
#3B52C2 #C2683B #96C23B
monochromatic
#1E2A64 #2D3E93 #3B52C2 #697BD1 #98A4E0

Accessibility & contrast

On white

6.62
#3B52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3B52C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52C2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52C2#FFFFFF#000000##FFFFFF
##3B52C21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b52c2;
/* rgb */ color: rgb(59, 82, 194);
/* oklch */ color: oklch(48.8% 0.177 269.8);
Tailwind
colors: {
  custom: {
    50: '#8282d5',
    500: '#3b52c2',
    950: '#000000',
  },
}
SCSS
$custom: #3b52c2;
$custom-light: #8282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52c2",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 229.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.17657,
    "h": 269.8
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#3B52C2
secondary
#CBC18E
accent
#C44BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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