#4850E2#4850E2

#4850E2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.217 H 273.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4850E2
RGBrgb(72, 80, 226)
HSLhsl(237, 73%, 58%)
HSVhsv(237, 68%, 89%)
CMYKcmyk(68.1%, 64.6%, 0%, 11.4%)
CIE-LABlab(42.16, 43.01, -75.05)
CIE-LCHlch(42.16, 86.50, 299.82°)
OKLaboklab(51.89% 0.0134 -0.2167)
OKLCHoklch(51.89% 0.217 273.5)
XYZxyz(19.2640, 12.6042, 73.3544)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4850E2 #E2DA48
analogous
#489DE2 #4850E2 #8D48E2
triadic
#4850E2 #E24850 #50E248
tetradic
#4850E2 #E2489D #E2DA48 #48E28D
square
#4850E2 #E2489D #E2DA48 #48E28D
split-complementary
#4850E2 #E28D48 #9DE248
monochromatic
#181F98 #2029CC #4850E2 #7D83EA #B2B5F3

Accessibility & contrast

On white

5.96
#4850E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4850E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4850E2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4850E2#FFFFFF#000000##FFFFFF
##4850E21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4850e2;
/* rgb */ color: rgb(72, 80, 226);
/* oklch */ color: oklch(51.9% 0.217 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e81ec',
    500: '#4850e2',
    950: '#000000',
  },
}
SCSS
$custom: #4850e2;
$custom-light: #8e81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4850e2",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 236.883,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.21714,
    "h": 273.5
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#4850E2
secondary
#E1DEA4
accent
#E638EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4850E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4850E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva