#3B52BD#3B52BD

#3B52BD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.170 H 269.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3B52BD
RGBrgb(59, 82, 189)
HSLhsl(229, 52%, 49%)
HSVhsv(229, 69%, 74%)
CMYKcmyk(68.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.96, 27.17, -58.97)
CIE-LCHlch(38.96, 64.93, 294.74°)
OKLaboklab(48.42% -0.0007 -0.1698)
OKLCHoklch(48.42% 0.17 269.8)
XYZxyz(14.0031, 10.6372, 49.4495)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52BD #BDA63B
analogous
#3B93BD #3B52BD #653BBD
triadic
#3B52BD #BD3B52 #52BD3B
tetradic
#3B52BD #BD3B93 #BDA63B #3BBD65
square
#3B52BD #BD3B93 #BDA63B #3BBD65
split-complementary
#3B52BD #BD653B #93BD3B
monochromatic
#1E2A60 #2C3E8E #3B52BD #6679CF #95A2DE

Accessibility & contrast

On white

6.71
#3B52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3B52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52BD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52BD#FFFFFF#000000##FFFFFF
##3B52BD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3b52bd;
/* rgb */ color: rgb(59, 82, 189);
/* oklch */ color: oklch(48.4% 0.170 269.8);
Tailwind
colors: {
  custom: {
    50: '#8182d2',
    500: '#3b52bd',
    950: '#000000',
  },
}
SCSS
$custom: #3b52bd;
$custom-light: #8182d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52bd",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 229.385,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.1698,
    "h": 269.8
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#3B52BD
secondary
#C9BE8B
accent
#C24CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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