#4835C7#4835C7

#4835C7 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.3% C 0.213 H 279.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4835C7
RGBrgb(72, 53, 199)
HSLhsl(248, 58%, 49%)
HSVhsv(248, 73%, 78%)
CMYKcmyk(63.8%, 73.4%, 0%, 22%)
CIE-LABlab(34.08, 49.77, -72.77)
CIE-LCHlch(34.08, 88.16, 304.37°)
OKLaboklab(45.34% 0.0353 -0.21)
OKLCHoklch(45.34% 0.213 279.5)
XYZxyz(14.2511, 8.0463, 54.8239)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C7 #B4C735
analogous
#356BC7 #4835C7 #9135C7
triadic
#4835C7 #C74835 #35C748
tetradic
#4835C7 #C7356B #B4C735 #35C791
square
#4835C7 #C7356B #B4C735 #35C791
split-complementary
#4835C7 #C79135 #6BC735
monochromatic
#251B66 #372897 #4835C7 #7264D6 #9E94E2

Accessibility & contrast

On white

8.05
#4835C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4835C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C7#FFFFFF#000000##FFFFFF
##4835C71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4835c7;
/* rgb */ color: rgb(72, 53, 199);
/* oklch */ color: oklch(45.3% 0.213 279.5);
Tailwind
colors: {
  custom: {
    50: '#8b6fd9',
    500: '#4835c7',
    950: '#000000',
  },
}
SCSS
$custom: #4835c7;
$custom-light: #8b6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c7",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 247.808,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.21297,
    "h": 279.5
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#4835C7
secondary
#C5CE8A
accent
#E147CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4835C7

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

Preview Lab → · Contrast checker → · Palette generator →

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