#4831C0#4831C0

#4831C0 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.209 H 280.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4831C0
RGBrgb(72, 49, 192)
HSLhsl(250, 59%, 47%)
HSVhsv(250, 74%, 75%)
CMYKcmyk(62.5%, 74.5%, 0%, 24.7%)
CIE-LABlab(32.65, 49.75, -71.01)
CIE-LCHlch(32.65, 86.70, 305.01°)
OKLaboklab(44.13% 0.0395 -0.2049)
OKLCHoklch(44.13% 0.209 280.9)
XYZxyz(13.2822, 7.3791, 50.5833)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831C0 #A9C031
analogous
#3162C0 #4831C0 #8F31C0
triadic
#4831C0 #C04831 #31C048
tetradic
#4831C0 #C03162 #A9C031 #31C08F
square
#4831C0 #C03162 #A9C031 #31C08F
split-complementary
#4831C0 #C08F31 #62C031
monochromatic
#23185E #36258F #4831C0 #6D59D5 #988AE1

Accessibility & contrast

On white

8.48
#4831C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4831C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831C0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831C0#FFFFFF#000000##FFFFFF
##4831C01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4831c0;
/* rgb */ color: rgb(72, 49, 192);
/* oklch */ color: oklch(44.1% 0.209 280.9);
Tailwind
colors: {
  custom: {
    50: '#8a6cd4',
    500: '#4831c0',
    950: '#000000',
  },
}
SCSS
$custom: #4831c0;
$custom-light: #8a6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4831c0",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 249.65,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.20863,
    "h": 280.9
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#4831C0
secondary
#BFCB82
accent
#E345C9
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4831C0

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

Preview Lab → · Contrast checker → · Palette generator →

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