#4835C8#4835C8

#4835C8 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.214 H 279.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4835C8
RGBrgb(72, 53, 200)
HSLhsl(248, 58%, 50%)
HSVhsv(248, 74%, 78%)
CMYKcmyk(64%, 73.5%, 0%, 21.6%)
CIE-LABlab(34.18, 50.08, -73.19)
CIE-LCHlch(34.18, 88.68, 304.38°)
OKLaboklab(45.44% 0.0351 -0.2113)
OKLCHoklch(45.44% 0.214 279.4)
XYZxyz(14.3676, 8.0929, 55.4373)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835C8 #B5C835
analogous
#356CC8 #4835C8 #9235C8
triadic
#4835C8 #C84835 #35C848
tetradic
#4835C8 #C8356C #B5C835 #35C892
square
#4835C8 #C8356C #B5C835 #35C892
split-complementary
#4835C8 #C89235 #6CC835
monochromatic
#251B67 #372898 #4835C8 #7364D6 #9F95E3

Accessibility & contrast

On white

8.02
#4835C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4835C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835C8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835C8#FFFFFF#000000##FFFFFF
##4835C81.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4835c8;
/* rgb */ color: rgb(72, 53, 200);
/* oklch */ color: oklch(45.4% 0.214 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b6fda',
    500: '#4835c8',
    950: '#000000',
  },
}
SCSS
$custom: #4835c8;
$custom-light: #8b6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4835c8",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 247.755,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.21416,
    "h": 279.4
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#4835C8
secondary
#C5CE8B
accent
#E146CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4835C8

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

Preview Lab → · Contrast checker → · Palette generator →

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