#3B52C4#3B52C4

#3B52C4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.179 H 269.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3B52C4
RGBrgb(59, 82, 196)
HSLhsl(230, 54%, 50%)
HSVhsv(230, 70%, 77%)
CMYKcmyk(69.9%, 58.2%, 0%, 23.1%)
CIE-LABlab(39.49, 29.69, -62.19)
CIE-LCHlch(39.49, 68.91, 295.52°)
OKLaboklab(48.98% -0.0005 -0.1793)
OKLCHoklch(48.98% 0.179 269.8)
XYZxyz(14.7813, 10.9485, 53.5481)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52C4 #C4AD3B
analogous
#3B96C4 #3B52C4 #693BC4
triadic
#3B52C4 #C43B52 #52C43B
tetradic
#3B52C4 #C43B96 #C4AD3B #3BC469
square
#3B52C4 #C43B96 #C4AD3B #3BC469
split-complementary
#3B52C4 #C4693B #96C43B
monochromatic
#1F2B66 #2D3E95 #3B52C4 #6A7CD2 #99A5E0

Accessibility & contrast

On white

6.58
#3B52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3B52C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52C4
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52C4#FFFFFF#000000##FFFFFF
##3B52C41.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b52c4;
/* rgb */ color: rgb(59, 82, 196);
/* oklch */ color: oklch(49.0% 0.179 269.8);
Tailwind
colors: {
  custom: {
    50: '#8282d7',
    500: '#3b52c4',
    950: '#000000',
  },
}
SCSS
$custom: #3b52c4;
$custom-light: #8282d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52c4",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 229.927,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.17926,
    "h": 269.8
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#3B52C4
secondary
#CCC28F
accent
#C54BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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