#4834B2#4834B2

#4834B2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.2% C 0.189 H 282.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4834B2
RGBrgb(72, 52, 178)
HSLhsl(250, 55%, 45%)
HSVhsv(250, 71%, 70%)
CMYKcmyk(59.6%, 70.8%, 0%, 30.2%)
CIE-LABlab(31.91, 43.84, -63.94)
CIE-LCHlch(31.91, 77.53, 304.44°)
OKLaboklab(43.2% 0.0403 -0.1842)
OKLCHoklch(43.2% 0.189 282.3)
XYZxyz(11.9339, 7.0472, 42.8422)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4834B2 #9EB234
analogous
#345FB2 #4834B2 #8734B2
triadic
#4834B2 #B24834 #34B248
tetradic
#4834B2 #B2345F #9EB234 #34B287
square
#4834B2 #B2345F #9EB234 #34B287
split-complementary
#4834B2 #B28734 #5FB234
monochromatic
#221853 #352683 #4834B2 #6956CE #9385DB

Accessibility & contrast

On white

8.72
#4834B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4834B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4834B2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4834B2#FFFFFF#000000##FFFFFF
##4834B21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4834b2;
/* rgb */ color: rgb(72, 52, 178);
/* oklch */ color: oklch(43.2% 0.189 282.3);
Tailwind
colors: {
  custom: {
    50: '#876dca',
    500: '#4834b2',
    950: '#000000',
  },
}
SCSS
$custom: #4834b2;
$custom-light: #876dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4834b2",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 249.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43203,
    "c": 0.18857,
    "h": 282.3
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#4834B2
secondary
#BAC57D
accent
#DE4AC7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4834B2

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

Preview Lab → · Contrast checker → · Palette generator →

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