#4852E8#4852E8

#4852E8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.222 H 273.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4852E8
RGBrgb(72, 82, 232)
HSLhsl(236, 78%, 60%)
HSVhsv(236, 69%, 91%)
CMYKcmyk(69%, 64.7%, 0%, 9%)
CIE-LABlab(43.12, 43.81, -76.89)
CIE-LCHlch(43.12, 88.49, 299.68°)
OKLaboklab(52.75% 0.0116 -0.2221)
OKLCHoklch(52.75% 0.222 273)
XYZxyz(20.2504, 13.2366, 77.8160)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4852E8 #E8DE48
analogous
#48A2E8 #4852E8 #8E48E8
triadic
#4852E8 #E84852 #52E848
tetradic
#4852E8 #E848A2 #E8DE48 #48E88E
square
#4852E8 #E848A2 #E8DE48 #48E88E
split-complementary
#4852E8 #E88E48 #A2E848
monochromatic
#141DA1 #1B27D8 #4852E8 #7E85EF #B5B9F6

Accessibility & contrast

On white

5.76
#4852E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4852E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4852E8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4852E8#FFFFFF#000000##FFFFFF
##4852E81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#005EE5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4852e8;
/* rgb */ color: rgb(72, 82, 232);
/* oklch */ color: oklch(52.7% 0.222 273.0);
Tailwind
colors: {
  custom: {
    50: '#8f83f0',
    500: '#4852e8',
    950: '#000000',
  },
}
SCSS
$custom: #4852e8;
$custom-light: #8f83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4852e8",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 236.25,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.22239,
    "h": 273
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#4852E8
secondary
#E5E1A7
accent
#E834F4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4852E8

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

Preview Lab → · Contrast checker → · Palette generator →

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