#4834CD#4834CD

#4834CD is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.8% C 0.221 H 279.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4834CD
RGBrgb(72, 52, 205)
HSLhsl(248, 60%, 50%)
HSVhsv(248, 75%, 80%)
CMYKcmyk(64.9%, 74.6%, 0%, 19.6%)
CIE-LABlab(34.48, 52.12, -75.61)
CIE-LCHlch(34.48, 91.83, 304.58°)
OKLaboklab(45.8% 0.0346 -0.2183)
OKLCHoklch(45.8% 0.221 279)
XYZxyz(14.9164, 8.2403, 58.5502)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4834CD #B9CD34
analogous
#346CCD #4834CD #9434CD
triadic
#4834CD #CD4834 #34CD48
tetradic
#4834CD #CD346C #B9CD34 #34CD94
square
#4834CD #CD346C #B9CD34 #34CD94
split-complementary
#4834CD #CD9434 #6CCD34
monochromatic
#251B6C #36279D #4834CD #7465D9 #A196E5

Accessibility & contrast

On white

7.93
#4834CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4834CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4834CD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4834CD#FFFFFF#000000##FFFFFF
##4834CD1.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)
#0057D1
Deuteranopia (green-blind)
#004BCA
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4834cd;
/* rgb */ color: rgb(72, 52, 205);
/* oklch */ color: oklch(45.8% 0.221 279.0);
Tailwind
colors: {
  custom: {
    50: '#8c6fde',
    500: '#4834cd',
    950: '#000000',
  },
}
SCSS
$custom: #4834cd;
$custom-light: #8c6fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4834cd",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 247.843,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.22103,
    "h": 279
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#4834CD
secondary
#C8D18C
accent
#E444CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4834CD

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

Preview Lab → · Contrast checker → · Palette generator →

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