#3B52BF#3B52BF

#3B52BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.173 H 269.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#3B52BF
RGBrgb(59, 82, 191)
HSLhsl(230, 53%, 49%)
HSVhsv(230, 69%, 75%)
CMYKcmyk(69.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.11, 27.89, -59.89)
CIE-LCHlch(39.11, 66.07, 294.97°)
OKLaboklab(48.58% -0.0006 -0.1725)
OKLCHoklch(48.58% 0.173 269.8)
XYZxyz(14.2217, 10.7246, 50.6007)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52BF #BFA83B
analogous
#3B94BF #3B52BF #663BBF
triadic
#3B52BF #BF3B52 #52BF3B
tetradic
#3B52BF #BF3B94 #BFA83B #3BBF66
square
#3B52BF #BF3B94 #BFA83B #3BBF66
split-complementary
#3B52BF #BF663B #94BF3B
monochromatic
#1E2A61 #2D3E90 #3B52BF #6779D0 #96A3DF

Accessibility & contrast

On white

6.68
#3B52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3B52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52BF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52BF#FFFFFF#000000##FFFFFF
##3B52BF1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3b52bf;
/* rgb */ color: rgb(59, 82, 191);
/* oklch */ color: oklch(48.6% 0.173 269.8);
Tailwind
colors: {
  custom: {
    50: '#8182d3',
    500: '#3b52bf',
    950: '#000000',
  },
}
SCSS
$custom: #3b52bf;
$custom-light: #8182d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52bf",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 229.545,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.17252,
    "h": 269.8
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#3B52BF
secondary
#CABF8C
accent
#C34CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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