#4835B5#4835B5

#4835B5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.191 H 281.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4835B5
RGBrgb(72, 53, 181)
HSLhsl(249, 55%, 46%)
HSVhsv(249, 71%, 71%)
CMYKcmyk(60.2%, 70.7%, 0%, 29%)
CIE-LABlab(32.39, 44.21, -64.95)
CIE-LCHlch(32.39, 78.57, 304.25°)
OKLaboklab(43.63% 0.0389 -0.1872)
OKLCHoklch(43.63% 0.191 281.7)
XYZxyz(12.2835, 7.2593, 44.4610)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835B5 #A2B535
analogous
#3562B5 #4835B5 #8835B5
triadic
#4835B5 #B54835 #35B548
tetradic
#4835B5 #B53562 #A2B535 #35B588
square
#4835B5 #B53562 #A2B535 #35B588
split-complementary
#4835B5 #B58835 #62B535
monochromatic
#221956 #352786 #4835B5 #6A59CE #9588DC

Accessibility & contrast

On white

8.56
#4835B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4835B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835B5
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835B5#FFFFFF#000000##FFFFFF
##4835B51.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4835b5;
/* rgb */ color: rgb(72, 53, 181);
/* oklch */ color: oklch(43.6% 0.191 281.7);
Tailwind
colors: {
  custom: {
    50: '#876ecc',
    500: '#4835b5',
    950: '#000000',
  },
}
SCSS
$custom: #4835b5;
$custom-light: #876ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4835b5",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 248.906,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43626,
    "c": 0.19116,
    "h": 281.7
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#4835B5
secondary
#BCC680
accent
#DE4AC8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4835B5

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

Preview Lab → · Contrast checker → · Palette generator →

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