#4852BD#4852BD

#4852BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.166 H 274.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4852BD
RGBrgb(72, 82, 189)
HSLhsl(235, 47%, 51%)
HSVhsv(235, 62%, 74%)
CMYKcmyk(61.9%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.72, 29.24, -57.70)
CIE-LCHlch(39.72, 64.69, 296.88°)
OKLaboklab(49.19% 0.013 -0.1657)
OKLCHoklch(49.19% 0.166 274.5)
XYZxyz(14.8721, 11.0852, 49.4902)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852BD #BDB348
analogous
#488CBD #4852BD #7848BD
triadic
#4852BD #BD4852 #52BD48
tetradic
#4852BD #BD488C #BDB348 #48BD78
square
#4852BD #BD488C #BDB348 #48BD78
split-complementary
#4852BD #BD7848 #8CBD48
monochromatic
#252A66 #353D93 #4852BD #757DCD #A2A7DD

Accessibility & contrast

On white

6.53
#4852BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4852BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852BD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852BD#FFFFFF#000000##FFFFFF
##4852BD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4852bd;
/* rgb */ color: rgb(72, 82, 189);
/* oklch */ color: oklch(49.2% 0.166 274.5);
Tailwind
colors: {
  custom: {
    50: '#8782d2',
    500: '#4852bd',
    950: '#000000',
  },
}
SCSS
$custom: #4852bd;
$custom-light: #8782d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4852bd",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 234.872,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.16626,
    "h": 274.5
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#4852BD
secondary
#CAC697
accent
#CB51D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4852BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4852BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva