#3B52CC#3B52CC

#3B52CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.190 H 269.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3B52CC
RGBrgb(59, 82, 204)
HSLhsl(230, 59%, 52%)
HSVhsv(230, 71%, 80%)
CMYKcmyk(71.1%, 59.8%, 0%, 20%)
CIE-LABlab(40.12, 32.55, -65.81)
CIE-LCHlch(40.12, 73.42, 296.32°)
OKLaboklab(49.64% -0.0005 -0.1899)
OKLCHoklch(49.64% 0.19 269.9)
XYZxyz(15.7163, 11.3224, 58.4722)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52CC #CCB53B
analogous
#3B9BCC #3B52CC #6D3BCC
triadic
#3B52CC #CC3B52 #52CC3B
tetradic
#3B52CC #CC3B9B #CCB53B #3BCC6D
square
#3B52CC #CC3B9B #CCB53B #3BCC6D
split-complementary
#3B52CC #CC6D3B #9BCC3B
monochromatic
#1D2A70 #2A3CA0 #3B52CC #6C7DD9 #9CA8E5

Accessibility & contrast

On white

6.43
#3B52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3B52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B52CC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52CC#FFFFFF#000000##FFFFFF
##3B52CC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3b52cc;
/* rgb */ color: rgb(59, 82, 204);
/* oklch */ color: oklch(49.6% 0.190 269.9);
Tailwind
colors: {
  custom: {
    50: '#8482dc',
    500: '#3b52cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b52cc;
$custom-light: #8482dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52cc",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 230.483,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.1899,
    "h": 269.9
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#3B52CC
secondary
#D1C792
accent
#C946E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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