#4831C2#4831C2

#4831C2 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.211 H 280.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4831C2
RGBrgb(72, 49, 194)
HSLhsl(250, 60%, 48%)
HSVhsv(250, 75%, 76%)
CMYKcmyk(62.9%, 74.7%, 0%, 23.9%)
CIE-LABlab(32.85, 50.35, -71.86)
CIE-LCHlch(32.85, 87.75, 305.02°)
OKLaboklab(44.33% 0.039 -0.2074)
OKLCHoklch(44.33% 0.211 280.7)
XYZxyz(13.5053, 7.4684, 51.7583)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831C2 #ABC231
analogous
#3163C2 #4831C2 #9031C2
triadic
#4831C2 #C24831 #31C248
tetradic
#4831C2 #C23163 #ABC231 #31C290
square
#4831C2 #C23163 #ABC231 #31C290
split-complementary
#4831C2 #C29031 #63C231
monochromatic
#241860 #362591 #4831C2 #6E5BD6 #998CE2

Accessibility & contrast

On white

8.42
#4831C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4831C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831C2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831C2#FFFFFF#000000##FFFFFF
##4831C21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4831c2;
/* rgb */ color: rgb(72, 49, 194);
/* oklch */ color: oklch(44.3% 0.211 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a6cd6',
    500: '#4831c2',
    950: '#000000',
  },
}
SCSS
$custom: #4831c2;
$custom-light: #8a6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4831c2",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 249.517,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.211,
    "h": 280.7
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#4831C2
secondary
#C0CC83
accent
#E345CA
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4831C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4831C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva