#3B52BB#3B52BB

#3B52BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.167 H 269.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3B52BB
RGBrgb(59, 82, 187)
HSLhsl(229, 52%, 48%)
HSVhsv(229, 68%, 73%)
CMYKcmyk(68.4%, 56.1%, 0%, 26.7%)
CIE-LABlab(38.81, 26.45, -58.04)
CIE-LCHlch(38.81, 63.78, 294.50°)
OKLaboklab(48.26% -0.0008 -0.1671)
OKLCHoklch(48.26% 0.167 269.7)
XYZxyz(13.7875, 10.5509, 48.3140)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52BB #BBA43B
analogous
#3B92BB #3B52BB #643BBB
triadic
#3B52BB #BB3B52 #52BB3B
tetradic
#3B52BB #BB3B92 #BBA43B #3BBB64
square
#3B52BB #BB3B92 #BBA43B #3BBB64
split-complementary
#3B52BB #BB643B #92BB3B
monochromatic
#1E295E #2C3E8C #3B52BB #6578CE #93A1DD

Accessibility & contrast

On white

6.75
#3B52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3B52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52BB#FFFFFF#000000##FFFFFF
##3B52BB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3b52bb;
/* rgb */ color: rgb(59, 82, 187);
/* oklch */ color: oklch(48.3% 0.167 269.7);
Tailwind
colors: {
  custom: {
    50: '#8082d0',
    500: '#3b52bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b52bb;
$custom-light: #8082d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52bb",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 229.219,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.16707,
    "h": 269.7
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#3B52BB
secondary
#C8BD8A
accent
#C24CDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3B52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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