#3B52CF#3B52CF

#3B52CF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.194 H 269.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3B52CF
RGBrgb(59, 82, 207)
HSLhsl(231, 61%, 52%)
HSVhsv(231, 71%, 81%)
CMYKcmyk(71.5%, 60.4%, 0%, 18.8%)
CIE-LABlab(40.36, 33.61, -67.15)
CIE-LCHlch(40.36, 75.09, 296.59°)
OKLaboklab(49.89% -0.0005 -0.1938)
OKLCHoklch(49.89% 0.194 269.9)
XYZxyz(16.0796, 11.4677, 60.3855)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52CF #CFB83B
analogous
#3B9CCF #3B52CF #6E3BCF
triadic
#3B52CF #CF3B52 #52CF3B
tetradic
#3B52CF #CF3B9C #CFB83B #3BCF6E
square
#3B52CF #CF3B9C #CFB83B #3BCF6E
split-complementary
#3B52CF #CF6E3B #9CCF3B
monochromatic
#1C2A73 #283CA5 #3B52CF #6C7DDB #9DA9E7

Accessibility & contrast

On white

6.38
#3B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3B52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52CF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52CF#FFFFFF#000000##FFFFFF
##3B52CF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3b52cf;
/* rgb */ color: rgb(59, 82, 207);
/* oklch */ color: oklch(49.9% 0.194 269.9);
Tailwind
colors: {
  custom: {
    50: '#8482df',
    500: '#3b52cf',
    950: '#000000',
  },
}
SCSS
$custom: #3b52cf;
$custom-light: #8482df;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52cf",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 230.676,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49893,
    "c": 0.19384,
    "h": 269.9
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#3B52CF
secondary
#D3C993
accent
#CB44E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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