#4834C5#4834C5

#4834C5 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.212 H 279.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4834C5
RGBrgb(72, 52, 197)
HSLhsl(248, 58%, 49%)
HSVhsv(248, 74%, 77%)
CMYKcmyk(63.5%, 73.6%, 0%, 22.7%)
CIE-LABlab(33.70, 49.69, -72.23)
CIE-LCHlch(33.70, 87.67, 304.53°)
OKLaboklab(45.01% 0.0364 -0.2084)
OKLCHoklch(45.01% 0.212 279.9)
XYZxyz(13.9753, 7.8638, 53.5939)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4834C5 #B1C534
analogous
#3469C5 #4834C5 #9134C5
triadic
#4834C5 #C54834 #34C548
tetradic
#4834C5 #C53469 #B1C534 #34C591
square
#4834C5 #C53469 #B1C534 #34C591
split-complementary
#4834C5 #C59134 #69C534
monochromatic
#251A64 #362795 #4834C5 #7161D5 #9C91E2

Accessibility & contrast

On white

8.16
#4834C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4834C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4834C5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4834C5#FFFFFF#000000##FFFFFF
##4834C51.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4834c5;
/* rgb */ color: rgb(72, 52, 197);
/* oklch */ color: oklch(45.0% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a6ed8',
    500: '#4834c5',
    950: '#000000',
  },
}
SCSS
$custom: #4834c5;
$custom-light: #8a6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4834c5",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 248.276,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.21159,
    "h": 279.9
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#4834C5
secondary
#C3CD88
accent
#E146CC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4834C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4834C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva