#4831C4#4831C4

#4831C4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.213 H 280.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4831C4
RGBrgb(72, 49, 196)
HSLhsl(249, 60%, 48%)
HSVhsv(249, 75%, 77%)
CMYKcmyk(63.3%, 75%, 0%, 23.1%)
CIE-LABlab(33.05, 50.95, -72.71)
CIE-LCHlch(33.05, 88.79, 305.02°)
OKLaboklab(44.52% 0.0385 -0.2098)
OKLCHoklch(44.52% 0.213 280.4)
XYZxyz(13.7314, 7.5588, 52.9492)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831C4 #ADC431
analogous
#3163C4 #4831C4 #9131C4
triadic
#4831C4 #C44831 #31C448
tetradic
#4831C4 #C43163 #ADC431 #31C491
square
#4831C4 #C43163 #ADC431 #31C491
split-complementary
#4831C4 #C49131 #63C431
monochromatic
#241962 #362593 #4831C4 #6F5CD6 #9A8DE2

Accessibility & contrast

On white

8.36
#4831C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4831C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831C4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831C4#FFFFFF#000000##FFFFFF
##4831C41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4831c4;
/* rgb */ color: rgb(72, 49, 196);
/* oklch */ color: oklch(44.5% 0.213 280.4);
Tailwind
colors: {
  custom: {
    50: '#8a6cd7',
    500: '#4831c4',
    950: '#000000',
  },
}
SCSS
$custom: #4831c4;
$custom-light: #8a6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4831c4",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 249.388,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.21335,
    "h": 280.4
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#4831C4
secondary
#C1CD84
accent
#E345CA
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4831C4

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

Preview Lab → · Contrast checker → · Palette generator →

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