#3B52BA#3B52BA

#3B52BA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.166 H 269.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3B52BA
RGBrgb(59, 82, 186)
HSLhsl(229, 52%, 48%)
HSVhsv(229, 68%, 73%)
CMYKcmyk(68.3%, 55.9%, 0%, 27.1%)
CIE-LABlab(38.74, 26.09, -57.57)
CIE-LCHlch(38.74, 63.21, 294.38°)
OKLaboklab(48.18% -0.0008 -0.1657)
OKLCHoklch(48.18% 0.166 269.7)
XYZxyz(13.6808, 10.5083, 47.7522)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52BA #BAA33B
analogous
#3B91BA #3B52BA #633BBA
triadic
#3B52BA #BA3B52 #52BA3B
tetradic
#3B52BA #BA3B91 #BAA33B #3BBA63
square
#3B52BA #BA3B91 #BAA33B #3BBA63
split-complementary
#3B52BA #BA633B #91BA3B
monochromatic
#1E295D #2C3E8C #3B52BA #6477CE #93A0DD

Accessibility & contrast

On white

6.77
#3B52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3B52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52BA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52BA#FFFFFF#000000##FFFFFF
##3B52BA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b52ba;
/* rgb */ color: rgb(59, 82, 186);
/* oklch */ color: oklch(48.2% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#8082cf',
    500: '#3b52ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b52ba;
$custom-light: #8082cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52ba",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 229.134,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.1657,
    "h": 269.7
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#3B52BA
secondary
#C8BC89
accent
#C14DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3B52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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