#4852C7#4852C7

#4852C7 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.180 H 274.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4852C7
RGBrgb(72, 82, 199)
HSLhsl(235, 53%, 53%)
HSVhsv(235, 64%, 78%)
CMYKcmyk(63.8%, 58.8%, 0%, 22%)
CIE-LABlab(40.47, 32.66, -62.32)
CIE-LCHlch(40.47, 70.36, 297.66°)
OKLaboklab(49.97% 0.0131 -0.1793)
OKLCHoklch(49.97% 0.18 274.2)
XYZxyz(15.9952, 11.5345, 55.4052)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852C7 #C7BD48
analogous
#4891C7 #4852C7 #7E48C7
triadic
#4852C7 #C74852 #52C748
tetradic
#4852C7 #C74891 #C7BD48 #48C77E
square
#4852C7 #C74891 #C7BD48 #48C77E
split-complementary
#4852C7 #C77E48 #91C748
monochromatic
#232972 #313AA1 #4852C7 #777ED5 #A6ABE4

Accessibility & contrast

On white

6.35
#4852C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4852C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852C7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852C7#FFFFFF#000000##FFFFFF
##4852C71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4852c7;
/* rgb */ color: rgb(72, 82, 199);
/* oklch */ color: oklch(50.0% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#8882d9',
    500: '#4852c7',
    950: '#000000',
  },
}
SCSS
$custom: #4852c7;
$custom-light: #8882d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4852c7",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 235.276,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.17981,
    "h": 274.2
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#4852C7
secondary
#D1CC9A
accent
#D14BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4852C7

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

Preview Lab → · Contrast checker → · Palette generator →

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