#3B52C3#3B52C3

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

Color values

HEX#3B52C3
RGBrgb(59, 82, 195)
HSLhsl(230, 54%, 50%)
HSVhsv(230, 70%, 76%)
CMYKcmyk(69.7%, 57.9%, 0%, 23.5%)
CIE-LABlab(39.42, 29.33, -61.73)
CIE-LCHlch(39.42, 68.34, 295.41°)
OKLaboklab(48.9% -0.0005 -0.1779)
OKLCHoklch(48.9% 0.178 269.8)
XYZxyz(14.6679, 10.9031, 52.9507)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52C3 #C3AC3B
analogous
#3B96C3 #3B52C3 #683BC3
triadic
#3B52C3 #C33B52 #52C33B
tetradic
#3B52C3 #C33B96 #C3AC3B #3BC368
square
#3B52C3 #C33B96 #C3AC3B #3BC368
split-complementary
#3B52C3 #C3683B #96C33B
monochromatic
#1F2A65 #2D3E94 #3B52C3 #697BD2 #98A5E0

Accessibility & contrast

On white

6.60
#3B52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3B52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52C3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52C3#FFFFFF#000000##FFFFFF
##3B52C31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b52c3;
/* rgb */ color: rgb(59, 82, 195);
/* oklch */ color: oklch(48.9% 0.178 269.8);
Tailwind
colors: {
  custom: {
    50: '#8282d6',
    500: '#3b52c3',
    950: '#000000',
  },
}
SCSS
$custom: #3b52c3;
$custom-light: #8282d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52c3",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 229.853,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.489,
    "c": 0.17792,
    "h": 269.8
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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