#4835C2#4835C2

#4835C2 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.207 H 280.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4835C2
RGBrgb(72, 53, 194)
HSLhsl(248, 57%, 48%)
HSVhsv(248, 73%, 76%)
CMYKcmyk(62.9%, 72.7%, 0%, 23.9%)
CIE-LABlab(33.60, 48.24, -70.63)
CIE-LCHlch(33.60, 85.53, 304.33°)
OKLaboklab(44.86% 0.0364 -0.2038)
OKLCHoklch(44.86% 0.207 280.1)
XYZxyz(13.6801, 7.8179, 51.8166)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C2 #AFC235
analogous
#3568C2 #4835C2 #8E35C2
triadic
#4835C2 #C24835 #35C248
tetradic
#4835C2 #C23568 #AFC235 #35C28E
square
#4835C2 #C23568 #AFC235 #35C28E
split-complementary
#4835C2 #C28E35 #68C235
monochromatic
#241B62 #362892 #4835C2 #7060D4 #9B91E1

Accessibility & contrast

On white

8.19
#4835C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4835C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C2#FFFFFF#000000##FFFFFF
##4835C21.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4835c2;
/* rgb */ color: rgb(72, 53, 194);
/* oklch */ color: oklch(44.9% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#8a6fd6',
    500: '#4835c2',
    950: '#000000',
  },
}
SCSS
$custom: #4835c2;
$custom-light: #8a6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c2",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 248.085,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.20699,
    "h": 280.1
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#4835C2
secondary
#C2CC87
accent
#E047CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4835C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4835C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva