#3B52C9#3B52C9

#3B52C9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.186 H 269.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3B52C9
RGBrgb(59, 82, 201)
HSLhsl(230, 57%, 51%)
HSVhsv(230, 71%, 79%)
CMYKcmyk(70.6%, 59.2%, 0%, 21.2%)
CIE-LABlab(39.88, 31.48, -64.46)
CIE-LCHlch(39.88, 71.73, 296.03°)
OKLaboklab(49.39% -0.0005 -0.1859)
OKLCHoklch(49.39% 0.186 269.9)
XYZxyz(15.3599, 11.1799, 56.5955)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52C9 #C9B23B
analogous
#3B99C9 #3B52C9 #6B3BC9
triadic
#3B52C9 #C93B52 #52C93B
tetradic
#3B52C9 #C93B99 #C9B23B #3BC96B
square
#3B52C9 #C93B99 #C9B23B #3BC96B
split-complementary
#3B52C9 #C96B3B #99C93B
monochromatic
#1E2A6C #2B3D9C #3B52C9 #6B7CD6 #9BA7E3

Accessibility & contrast

On white

6.49
#3B52C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3B52C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52C9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52C9#FFFFFF#000000##FFFFFF
##3B52C91.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b52c9;
/* rgb */ color: rgb(59, 82, 201);
/* oklch */ color: oklch(49.4% 0.186 269.9);
Tailwind
colors: {
  custom: {
    50: '#8382da',
    500: '#3b52c9',
    950: '#000000',
  },
}
SCSS
$custom: #3b52c9;
$custom-light: #8382da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52c9",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 230.282,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.18593,
    "h": 269.9
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#3B52C9
secondary
#CFC590
accent
#C748E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B52C9

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

Preview Lab → · Contrast checker → · Palette generator →

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