#4831BC#4831BC

#4831BC is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.204 H 281.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4831BC
RGBrgb(72, 49, 188)
HSLhsl(250, 59%, 46%)
HSVhsv(250, 74%, 74%)
CMYKcmyk(61.7%, 73.9%, 0%, 26.3%)
CIE-LABlab(32.27, 48.54, -69.29)
CIE-LCHlch(32.27, 84.60, 305.01°)
OKLaboklab(43.74% 0.0404 -0.1998)
OKLCHoklch(43.74% 0.204 281.4)
XYZxyz(12.8450, 7.2043, 48.2809)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831BC #A5BC31
analogous
#3160BC #4831BC #8E31BC
triadic
#4831BC #BC4831 #31BC48
tetradic
#4831BC #BC3160 #A5BC31 #31BC8E
square
#4831BC #BC3160 #A5BC31 #31BC8E
split-complementary
#4831BC #BC8E31 #60BC31
monochromatic
#23185B #35248B #4831BC #6C57D3 #9688E0

Accessibility & contrast

On white

8.60
#4831BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4831BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831BC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831BC#FFFFFF#000000##FFFFFF
##4831BC1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4831bc;
/* rgb */ color: rgb(72, 49, 188);
/* oklch */ color: oklch(43.7% 0.204 281.4);
Tailwind
colors: {
  custom: {
    50: '#896cd1',
    500: '#4831bc',
    950: '#000000',
  },
}
SCSS
$custom: #4831bc;
$custom-light: #896cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4831bc",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 249.928,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.20388,
    "h": 281.4
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#4831BC
secondary
#BDCA7F
accent
#E246C8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4831BC

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

Preview Lab → · Contrast checker → · Palette generator →

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