#4835C5#4835C5

#4835C5 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.211 H 279.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4835C5
RGBrgb(72, 53, 197)
HSLhsl(248, 58%, 49%)
HSVhsv(248, 73%, 77%)
CMYKcmyk(63.5%, 73.1%, 0%, 22.7%)
CIE-LABlab(33.89, 49.16, -71.91)
CIE-LCHlch(33.89, 87.11, 304.35°)
OKLaboklab(45.15% 0.0357 -0.2075)
OKLCHoklch(45.15% 0.211 279.8)
XYZxyz(14.0204, 7.9540, 53.6089)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C5 #B2C535
analogous
#356AC5 #4835C5 #9035C5
triadic
#4835C5 #C54835 #35C548
tetradic
#4835C5 #C5356A #B2C535 #35C590
square
#4835C5 #C5356A #B2C535 #35C590
split-complementary
#4835C5 #C59035 #6AC535
monochromatic
#251B65 #362895 #4835C5 #7162D5 #9D93E2

Accessibility & contrast

On white

8.10
#4835C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4835C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C5#FFFFFF#000000##FFFFFF
##4835C51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4835c5;
/* rgb */ color: rgb(72, 53, 197);
/* oklch */ color: oklch(45.1% 0.211 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a6fd8',
    500: '#4835c5',
    950: '#000000',
  },
}
SCSS
$custom: #4835c5;
$custom-light: #8a6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c5",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 247.917,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.21059,
    "h": 279.8
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4835C5

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

Preview Lab → · Contrast checker → · Palette generator →

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