#3B52C8#3B52C8

#3B52C8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.185 H 269.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3B52C8
RGBrgb(59, 82, 200)
HSLhsl(230, 56%, 51%)
HSVhsv(230, 71%, 78%)
CMYKcmyk(70.5%, 59%, 0%, 21.6%)
CIE-LABlab(39.80, 31.12, -64.01)
CIE-LCHlch(39.80, 71.17, 295.93°)
OKLaboklab(49.31% -0.0005 -0.1846)
OKLCHoklch(49.31% 0.185 269.9)
XYZxyz(15.2427, 11.1330, 55.9780)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52C8 #C8B13B
analogous
#3B98C8 #3B52C8 #6A3BC8
triadic
#3B52C8 #C83B52 #52C83B
tetradic
#3B52C8 #C83B98 #C8B13B #3BC86A
square
#3B52C8 #C83B98 #C8B13B #3BC86A
split-complementary
#3B52C8 #C86A3B #98C83B
monochromatic
#1E2A6B #2B3D9A #3B52C8 #6B7CD5 #9BA6E3

Accessibility & contrast

On white

6.51
#3B52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3B52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52C8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52C8#FFFFFF#000000##FFFFFF
##3B52C81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b52c8;
/* rgb */ color: rgb(59, 82, 200);
/* oklch */ color: oklch(49.3% 0.185 269.9);
Tailwind
colors: {
  custom: {
    50: '#8382da',
    500: '#3b52c8',
    950: '#000000',
  },
}
SCSS
$custom: #3b52c8;
$custom-light: #8382da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52c8",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 230.213,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49309,
    "c": 0.1846,
    "h": 269.9
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#3B52C8
secondary
#CFC490
accent
#C748DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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