#4835C6#4835C6

#4835C6 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.212 H 279.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4835C6
RGBrgb(72, 53, 198)
HSLhsl(248, 58%, 49%)
HSVhsv(248, 73%, 78%)
CMYKcmyk(63.6%, 73.2%, 0%, 22.4%)
CIE-LABlab(33.98, 49.46, -72.34)
CIE-LCHlch(33.98, 87.64, 304.36°)
OKLaboklab(45.24% 0.0355 -0.2088)
OKLCHoklch(45.24% 0.212 279.7)
XYZxyz(14.1354, 8.0000, 54.2144)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C6 #B3C635
analogous
#356BC6 #4835C6 #9135C6
triadic
#4835C6 #C64835 #35C648
tetradic
#4835C6 #C6356B #B3C635 #35C691
square
#4835C6 #C6356B #B3C635 #35C691
split-complementary
#4835C6 #C69135 #6BC635
monochromatic
#251B65 #362896 #4835C6 #7263D5 #9E93E2

Accessibility & contrast

On white

8.08
#4835C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4835C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C6#FFFFFF#000000##FFFFFF
##4835C61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4835c6;
/* rgb */ color: rgb(72, 53, 198);
/* oklch */ color: oklch(45.2% 0.212 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b6fd9',
    500: '#4835c6',
    950: '#000000',
  },
}
SCSS
$custom: #4835c6;
$custom-light: #8b6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c6",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 247.862,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45242,
    "c": 0.21178,
    "h": 279.7
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#4835C6
secondary
#C4CD8A
accent
#E147CD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4835C6

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

Preview Lab → · Contrast checker → · Palette generator →

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