#4834D1#4834D1

#4834D1 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.2% C 0.226 H 278.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4834D1
RGBrgb(72, 52, 209)
HSLhsl(248, 63%, 51%)
HSVhsv(248, 75%, 82%)
CMYKcmyk(65.6%, 75.1%, 0%, 18%)
CIE-LABlab(34.87, 53.33, -77.27)
CIE-LCHlch(34.87, 93.89, 304.61°)
OKLaboklab(46.2% 0.0337 -0.2232)
OKLCHoklch(46.2% 0.226 278.6)
XYZxyz(15.4054, 8.4359, 61.1257)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4834D1 #BDD134
analogous
#346ED1 #4834D1 #9634D1
triadic
#4834D1 #D14834 #34D148
tetradic
#4834D1 #D1346E #BDD134 #34D196
square
#4834D1 #D1346E #BDD134 #34D196
split-complementary
#4834D1 #D19634 #6ED134
monochromatic
#251A71 #3525A3 #4834D1 #7566DC #A298E8

Accessibility & contrast

On white

7.81
#4834D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4834D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4834D1
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4834D1#FFFFFF#000000##FFFFFF
##4834D11.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004CCE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4834d1;
/* rgb */ color: rgb(72, 52, 209);
/* oklch */ color: oklch(46.2% 0.226 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d6fe0',
    500: '#4834d1',
    950: '#000000',
  },
}
SCSS
$custom: #4834d1;
$custom-light: #8d6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4834d1",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 247.643,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.22569,
    "h": 278.6
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#4834D1
secondary
#CAD38E
accent
#E642D1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4834D1

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

Preview Lab → · Contrast checker → · Palette generator →

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