#3B52AC#3B52AC

#3B52AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.146 H 269.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3B52AC
RGBrgb(59, 82, 172)
HSLhsl(228, 49%, 45%)
HSVhsv(228, 66%, 67%)
CMYKcmyk(65.7%, 52.3%, 0%, 32.5%)
CIE-LABlab(37.74, 21.04, -50.94)
CIE-LCHlch(37.74, 55.11, 292.44°)
OKLaboklab(47.11% -0.0018 -0.1462)
OKLCHoklch(47.11% 0.146 269.3)
XYZxyz(12.2648, 9.9418, 40.2943)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52AC #AC953B
analogous
#3B8AAC #3B52AC #5D3BAC
triadic
#3B52AC #AC3B52 #52AC3B
tetradic
#3B52AC #AC3B8A #AC953B #3BAC5D
square
#3B52AC #AC3B8A #AC953B #3BAC5D
split-complementary
#3B52AC #AC5D3B #8AAC3B
monochromatic
#1C2751 #2B3C7E #3B52AC #5D73C7 #8A9AD7

Accessibility & contrast

On white

7.03
#3B52AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3B52AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B52AC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52AC#FFFFFF#000000##FFFFFF
##3B52AC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b52ac;
/* rgb */ color: rgb(59, 82, 172);
/* oklch */ color: oklch(47.1% 0.146 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d82c5',
    500: '#3b52ac',
    950: '#000000',
  },
}
SCSS
$custom: #3b52ac;
$custom-light: #7d82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52ac",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 227.788,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.14619,
    "h": 269.3
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#3B52AC
secondary
#C1B481
accent
#BD4FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3B52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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