#3B52D8#3B52D8

#3B52D8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.7% C 0.205 H 269.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3B52D8
RGBrgb(59, 82, 216)
HSLhsl(231, 67%, 54%)
HSVhsv(231, 73%, 85%)
CMYKcmyk(72.7%, 62%, 0%, 15.3%)
CIE-LABlab(41.09, 36.80, -71.13)
CIE-LCHlch(41.09, 80.08, 297.36°)
OKLaboklab(50.66% -0.0007 -0.2055)
OKLCHoklch(50.66% 0.206 269.8)
XYZxyz(17.2113, 11.9205, 66.3462)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52D8 #D8C13B
analogous
#3BA1D8 #3B52D8 #733BD8
triadic
#3B52D8 #D83B52 #52D83B
tetradic
#3B52D8 #D83BA1 #D8C13B #3BD873
square
#3B52D8 #D83BA1 #D8C13B #3BD873
split-complementary
#3B52D8 #D8733B #A1D83B
monochromatic
#19287F #2338B2 #3B52D8 #6E7FE2 #A1ACEC

Accessibility & contrast

On white

6.20
#3B52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3B52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52D8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52D8#FFFFFF#000000##FFFFFF
##3B52D81.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b52d8;
/* rgb */ color: rgb(59, 82, 216);
/* oklch */ color: oklch(50.7% 0.205 269.8);
Tailwind
colors: {
  custom: {
    50: '#8682e5',
    500: '#3b52d8',
    950: '#000000',
  },
}
SCSS
$custom: #3b52d8;
$custom-light: #8682e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52d8",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 231.21,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.2055,
    "h": 269.8
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#3B52D8
secondary
#D9CF96
accent
#D13EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3B52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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