#3B52C7#3B52C7

#3B52C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.183 H 269.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3B52C7
RGBrgb(59, 82, 199)
HSLhsl(230, 56%, 51%)
HSVhsv(230, 70%, 78%)
CMYKcmyk(70.4%, 58.8%, 0%, 22%)
CIE-LABlab(39.73, 30.76, -63.55)
CIE-LCHlch(39.73, 70.61, 295.83°)
OKLaboklab(49.23% -0.0005 -0.1833)
OKLCHoklch(49.23% 0.183 269.8)
XYZxyz(15.1262, 11.0864, 55.3645)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52C7 #C7B03B
analogous
#3B98C7 #3B52C7 #6A3BC7
triadic
#3B52C7 #C73B52 #52C73B
tetradic
#3B52C7 #C73B98 #C7B03B #3BC76A
square
#3B52C7 #C73B98 #C7B03B #3BC76A
split-complementary
#3B52C7 #C76A3B #98C73B
monochromatic
#1E2B69 #2C3E99 #3B52C7 #6B7CD5 #9AA6E2

Accessibility & contrast

On white

6.53
#3B52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3B52C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52C7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52C7#FFFFFF#000000##FFFFFF
##3B52C71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b52c7;
/* rgb */ color: rgb(59, 82, 199);
/* oklch */ color: oklch(49.2% 0.183 269.8);
Tailwind
colors: {
  custom: {
    50: '#8382d9',
    500: '#3b52c7',
    950: '#000000',
  },
}
SCSS
$custom: #3b52c7;
$custom-light: #8382d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52c7",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 230.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.18327,
    "h": 269.8
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#3B52C7
secondary
#CEC490
accent
#C649DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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