#4835C4#4835C4

#4835C4 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.209 H 279.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4835C4
RGBrgb(72, 53, 196)
HSLhsl(248, 57%, 49%)
HSVhsv(248, 73%, 77%)
CMYKcmyk(63.3%, 73%, 0%, 23.1%)
CIE-LABlab(33.79, 48.85, -71.49)
CIE-LCHlch(33.79, 86.58, 304.35°)
OKLaboklab(45.05% 0.036 -0.2063)
OKLCHoklch(45.05% 0.209 279.9)
XYZxyz(13.9062, 7.9084, 53.0075)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C4 #B1C435
analogous
#356AC4 #4835C4 #9035C4
triadic
#4835C4 #C44835 #35C448
tetradic
#4835C4 #C4356A #B1C435 #35C490
square
#4835C4 #C4356A #B1C435 #35C490
split-complementary
#4835C4 #C49035 #6AC435
monochromatic
#251B64 #362894 #4835C4 #7162D4 #9C92E1

Accessibility & contrast

On white

8.13
#4835C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4835C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C4#FFFFFF#000000##FFFFFF
##4835C41.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4835c4;
/* rgb */ color: rgb(72, 53, 196);
/* oklch */ color: oklch(45.0% 0.209 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a6fd7',
    500: '#4835c4',
    950: '#000000',
  },
}
SCSS
$custom: #4835c4;
$custom-light: #8a6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c4",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 247.972,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.20939,
    "h": 279.9
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#4835C4
secondary
#C3CC88
accent
#E147CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4835C4

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

Preview Lab → · Contrast checker → · Palette generator →

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