#4834D2#4834D2

#4834D2 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.3% C 0.227 H 278.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4834D2
RGBrgb(72, 52, 210)
HSLhsl(248, 64%, 51%)
HSVhsv(248, 75%, 82%)
CMYKcmyk(65.7%, 75.2%, 0%, 17.6%)
CIE-LABlab(34.97, 53.63, -77.69)
CIE-LCHlch(34.97, 94.40, 304.62°)
OKLaboklab(46.29% 0.0335 -0.2244)
OKLCHoklch(46.29% 0.227 278.5)
XYZxyz(15.5296, 8.4855, 61.7798)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4834D2 #BED234
analogous
#346FD2 #4834D2 #9734D2
triadic
#4834D2 #D24834 #34D248
tetradic
#4834D2 #D2346F #BED234 #34D297
square
#4834D2 #D2346F #BED234 #34D297
split-complementary
#4834D2 #D29734 #6FD234
monochromatic
#251972 #3524A4 #4834D2 #7566DD #A298E8

Accessibility & contrast

On white

7.79
#4834D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4834D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4834D2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4834D2#FFFFFF#000000##FFFFFF
##4834D21.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4834d2;
/* rgb */ color: rgb(72, 52, 210);
/* oklch */ color: oklch(46.3% 0.227 278.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fe1',
    500: '#4834d2',
    950: '#000000',
  },
}
SCSS
$custom: #4834d2;
$custom-light: #8d6fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4834d2",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 247.595,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.22685,
    "h": 278.5
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#4834D2
secondary
#CBD48E
accent
#E741D2
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4834D2

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

Preview Lab → · Contrast checker → · Palette generator →

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