#4835CC#4835CC

#4835CC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.219 H 279.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4835CC
RGBrgb(72, 53, 204)
HSLhsl(248, 60%, 50%)
HSVhsv(248, 74%, 80%)
CMYKcmyk(64.7%, 74%, 0%, 20%)
CIE-LABlab(34.56, 51.30, -74.88)
CIE-LCHlch(34.56, 90.77, 304.41°)
OKLaboklab(45.83% 0.0342 -0.2162)
OKLCHoklch(45.83% 0.219 279)
XYZxyz(14.8412, 8.2823, 57.9316)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835CC #B9CC35
analogous
#356DCC #4835CC #9435CC
triadic
#4835CC #CC4835 #35CC48
tetradic
#4835CC #CC356D #B9CC35 #35CC94
square
#4835CC #CC356D #B9CC35 #35CC94
split-complementary
#4835CC #CC9435 #6DCC35
monochromatic
#251B6B #36279C #4835CC #7466D8 #A197E5

Accessibility & contrast

On white

7.90
#4835CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4835CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835CC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835CC#FFFFFF#000000##FFFFFF
##4835CC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4835cc;
/* rgb */ color: rgb(72, 53, 204);
/* oklch */ color: oklch(45.8% 0.219 279.0);
Tailwind
colors: {
  custom: {
    50: '#8c6fdd',
    500: '#4835cc',
    950: '#000000',
  },
}
SCSS
$custom: #4835cc;
$custom-light: #8c6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4835cc",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 247.55,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.21889,
    "h": 279
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#4835CC
secondary
#C8D08D
accent
#E345CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4835CC

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

Preview Lab → · Contrast checker → · Palette generator →

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