#4835CD#4835CD

#4835CD is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.220 H 278.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4835CD
RGBrgb(72, 53, 205)
HSLhsl(248, 60%, 51%)
HSVhsv(248, 74%, 80%)
CMYKcmyk(64.9%, 74.1%, 0%, 19.6%)
CIE-LABlab(34.66, 51.60, -75.30)
CIE-LCHlch(34.66, 91.29, 304.42°)
OKLaboklab(45.93% 0.034 -0.2174)
OKLCHoklch(45.93% 0.22 278.9)
XYZxyz(14.9615, 8.3305, 58.5653)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835CD #BACD35
analogous
#356ECD #4835CD #9435CD
triadic
#4835CD #CD4835 #35CD48
tetradic
#4835CD #CD356E #BACD35 #35CD94
square
#4835CD #CD356E #BACD35 #35CD94
split-complementary
#4835CD #CD9435 #6ECD35
monochromatic
#251B6D #36279E #4835CD #7466D9 #A197E5

Accessibility & contrast

On white

7.88
#4835CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4835CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835CD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835CD#FFFFFF#000000##FFFFFF
##4835CD1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#004BCA
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4835cd;
/* rgb */ color: rgb(72, 53, 205);
/* oklch */ color: oklch(45.9% 0.220 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c6fde',
    500: '#4835cd',
    950: '#000000',
  },
}
SCSS
$custom: #4835cd;
$custom-light: #8c6fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4835cd",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 247.5,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45927,
    "c": 0.22007,
    "h": 278.9
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#4835CD
secondary
#C8D18D
accent
#E344D0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4835CD

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

Preview Lab → · Contrast checker → · Palette generator →

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