#3B52AE#3B52AE

#3B52AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.149 H 269.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3B52AE
RGBrgb(59, 82, 174)
HSLhsl(228, 49%, 46%)
HSVhsv(228, 66%, 68%)
CMYKcmyk(66.1%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.88, 21.76, -51.90)
CIE-LCHlch(37.88, 56.28, 292.75°)
OKLaboklab(47.26% -0.0016 -0.149)
OKLCHoklch(47.26% 0.149 269.4)
XYZxyz(12.4583, 10.0192, 41.3136)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52AE #AE973B
analogous
#3B8BAE #3B52AE #5D3BAE
triadic
#3B52AE #AE3B52 #52AE3B
tetradic
#3B52AE #AE3B8B #AE973B #3BAE5D
square
#3B52AE #AE3B8B #AE973B #3BAE5D
split-complementary
#3B52AE #AE5D3B #8BAE3B
monochromatic
#1C2753 #2C3C80 #3B52AE #5E73C8 #8C9BD8

Accessibility & contrast

On white

6.99
#3B52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3B52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52AE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52AE#FFFFFF#000000##FFFFFF
##3B52AE1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b52ae;
/* rgb */ color: rgb(59, 82, 174);
/* oklch */ color: oklch(47.3% 0.149 269.4);
Tailwind
colors: {
  custom: {
    50: '#7e82c7',
    500: '#3b52ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b52ae;
$custom-light: #7e82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52ae",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 228,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47257,
    "c": 0.14901,
    "h": 269.4
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#3B52AE
secondary
#C2B682
accent
#BD4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3B52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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