#4852EB#4852EB

#4852EB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.226 H 272.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4852EB
RGBrgb(72, 82, 235)
HSLhsl(236, 80%, 60%)
HSVhsv(236, 69%, 92%)
CMYKcmyk(69.4%, 65.1%, 0%, 7.8%)
CIE-LABlab(43.37, 44.81, -78.16)
CIE-LCHlch(43.37, 90.10, 299.83°)
OKLaboklab(53.01% 0.0114 -0.2258)
OKLCHoklch(53.01% 0.226 272.9)
XYZxyz(20.6801, 13.4085, 80.0794)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852EB #EBE148
analogous
#48A3EB #4852EB #8F48EB
triadic
#4852EB #EB4852 #52EB48
tetradic
#4852EB #EB48A3 #EBE148 #48EB8F
square
#4852EB #EB48A3 #EBE148 #48EB8F
split-complementary
#4852EB #EB8F48 #A3EB48
monochromatic
#121BA6 #1824DE #4852EB #7F86F1 #B6BAF7

Accessibility & contrast

On white

5.70
#4852EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4852EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852EB#FFFFFF#000000##FFFFFF
##4852EB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4852eb;
/* rgb */ color: rgb(72, 82, 235);
/* oklch */ color: oklch(53.0% 0.226 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f83f3',
    500: '#4852eb',
    950: '#000000',
  },
}
SCSS
$custom: #4852eb;
$custom-light: #8f83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4852eb",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 236.319,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.22612,
    "h": 272.9
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#4852EB
secondary
#E7E3A8
accent
#D009DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4852EB

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

Preview Lab → · Contrast checker → · Palette generator →

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