#4831C5#4831C5

#4831C5 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.6% C 0.215 H 280.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4831C5
RGBrgb(72, 49, 197)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 77%)
CMYKcmyk(63.5%, 75.1%, 0%, 22.7%)
CIE-LABlab(33.15, 51.25, -73.14)
CIE-LCHlch(33.15, 89.31, 305.02°)
OKLaboklab(44.62% 0.0383 -0.2111)
OKLCHoklch(44.62% 0.215 280.3)
XYZxyz(13.8456, 7.6045, 53.5507)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831C5 #AEC531
analogous
#3164C5 #4831C5 #9231C5
triadic
#4831C5 #C54831 #31C548
tetradic
#4831C5 #C53164 #AEC531 #31C592
square
#4831C5 #C53164 #AEC531 #31C592
split-complementary
#4831C5 #C59231 #64C531
monochromatic
#241963 #362594 #4831C5 #705DD7 #9B8EE3

Accessibility & contrast

On white

8.33
#4831C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4831C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831C5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831C5#FFFFFF#000000##FFFFFF
##4831C51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4831c5;
/* rgb */ color: rgb(72, 49, 197);
/* oklch */ color: oklch(44.6% 0.215 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b6cd8',
    500: '#4831c5',
    950: '#000000',
  },
}
SCSS
$custom: #4831c5;
$custom-light: #8b6cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4831c5",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 249.324,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.21451,
    "h": 280.3
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#4831C5
secondary
#C2CD85
accent
#E344CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4831C5

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

Preview Lab → · Contrast checker → · Palette generator →

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