#3B52CB#3B52CB

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

Color values

HEX#3B52CB
RGBrgb(59, 82, 203)
HSLhsl(230, 58%, 51%)
HSVhsv(230, 71%, 80%)
CMYKcmyk(70.9%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.04, 32.19, -65.36)
CIE-LCHlch(40.04, 72.86, 296.22°)
OKLaboklab(49.56% -0.0005 -0.1886)
OKLCHoklch(49.56% 0.189 269.9)
XYZxyz(15.5967, 11.2746, 57.8426)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B52CB #CBB43B
analogous
#3B9ACB #3B52CB #6C3BCB
triadic
#3B52CB #CB3B52 #52CB3B
tetradic
#3B52CB #CB3B9A #CBB43B #3BCB6C
square
#3B52CB #CB3B9A #CBB43B #3BCB6C
split-complementary
#3B52CB #CB6C3B #9ACB3B
monochromatic
#1D2A6E #2A3D9F #3B52CB #6B7DD8 #9CA7E5

Accessibility & contrast

On white

6.45
#3B52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3B52CB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B52CB#FFFFFF#000000##FFFFFF
##3B52CB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b52cb;
/* rgb */ color: rgb(59, 82, 203);
/* oklch */ color: oklch(49.6% 0.189 269.9);
Tailwind
colors: {
  custom: {
    50: '#8482dc',
    500: '#3b52cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b52cb;
$custom-light: #8482dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b52cb",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 230.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.18858,
    "h": 269.9
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#3B52CB
secondary
#D1C791
accent
#C947E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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