#4835C9#4835C9

#4835C9 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.215 H 279.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4835C9
RGBrgb(72, 53, 201)
HSLhsl(248, 58%, 50%)
HSVhsv(248, 74%, 79%)
CMYKcmyk(64.2%, 73.6%, 0%, 21.2%)
CIE-LABlab(34.27, 50.38, -73.62)
CIE-LCHlch(34.27, 89.21, 304.39°)
OKLaboklab(45.53% 0.0349 -0.2125)
OKLCHoklch(45.53% 0.215 279.3)
XYZxyz(14.4848, 8.1398, 56.0548)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C9 #B6C935
analogous
#356CC9 #4835C9 #9235C9
triadic
#4835C9 #C94835 #35C948
tetradic
#4835C9 #C9356C #B6C935 #35C992
square
#4835C9 #C9356C #B6C935 #35C992
split-complementary
#4835C9 #C99235 #6CC935
monochromatic
#251B68 #372899 #4835C9 #7365D6 #9F95E3

Accessibility & contrast

On white

7.99
#4835C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4835C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C9
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C9#FFFFFF#000000##FFFFFF
##4835C91.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4835c9;
/* rgb */ color: rgb(72, 53, 201);
/* oklch */ color: oklch(45.5% 0.215 279.3);
Tailwind
colors: {
  custom: {
    50: '#8b6fdb',
    500: '#4835c9',
    950: '#000000',
  },
}
SCSS
$custom: #4835c9;
$custom-light: #8b6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c9",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 247.703,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.21535,
    "h": 279.3
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#4835C9
secondary
#C6CE8B
accent
#E146CE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4835C9

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

Preview Lab → · Contrast checker → · Palette generator →

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