#4835CB#4835CB

#4835CB is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.218 H 279.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4835CB
RGBrgb(72, 53, 203)
HSLhsl(248, 59%, 50%)
HSVhsv(248, 74%, 80%)
CMYKcmyk(64.5%, 73.9%, 0%, 20.4%)
CIE-LABlab(34.47, 50.99, -74.46)
CIE-LCHlch(34.47, 90.25, 304.40°)
OKLaboklab(45.73% 0.0345 -0.215)
OKLCHoklch(45.73% 0.218 279.1)
XYZxyz(14.7216, 8.2345, 57.3020)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835CB #B8CB35
analogous
#356DCB #4835CB #9335CB
triadic
#4835CB #CB4835 #35CB48
tetradic
#4835CB #CB356D #B8CB35 #35CB93
square
#4835CB #CB356D #B8CB35 #35CB93
split-complementary
#4835CB #CB9335 #6DCB35
monochromatic
#251B6A #36289B #4835CB #7466D8 #A096E4

Accessibility & contrast

On white

7.93
#4835CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4835CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835CB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835CB#FFFFFF#000000##FFFFFF
##4835CB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4835cb;
/* rgb */ color: rgb(72, 53, 203);
/* oklch */ color: oklch(45.7% 0.218 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b6fdc',
    500: '#4835cb',
    950: '#000000',
  },
}
SCSS
$custom: #4835cb;
$custom-light: #8b6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4835cb",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 247.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.21771,
    "h": 279.1
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#4835CB
secondary
#C7CF8C
accent
#E246CE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4835CB

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

Preview Lab → · Contrast checker → · Palette generator →

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