#4831C9#4831C9

#4831C9 is a mid, highly saturated blue. Relative luminance 0.078; OKLCH L 45.0% C 0.219 H 279.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4831C9
RGBrgb(72, 49, 201)
HSLhsl(249, 61%, 49%)
HSVhsv(249, 76%, 79%)
CMYKcmyk(64.2%, 75.6%, 0%, 21.2%)
CIE-LABlab(33.54, 52.45, -74.82)
CIE-LCHlch(33.54, 91.37, 305.03°)
OKLaboklab(45.02% 0.0373 -0.216)
OKLCHoklch(45.02% 0.219 279.8)
XYZxyz(14.3101, 7.7903, 55.9966)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4831C9 #B2C931
analogous
#3166C9 #4831C9 #9431C9
triadic
#4831C9 #C94831 #31C948
tetradic
#4831C9 #C93166 #B2C931 #31C994
square
#4831C9 #C93166 #B2C931 #31C994
split-complementary
#4831C9 #C99431 #66C931
monochromatic
#251967 #362598 #4831C9 #715FD8 #9D90E4

Accessibility & contrast

On white

8.21
#4831C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4831C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4831C9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4831C9#FFFFFF#000000##FFFFFF
##4831C91.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4831c9;
/* rgb */ color: rgb(72, 49, 201);
/* oklch */ color: oklch(45.0% 0.219 279.8);
Tailwind
colors: {
  custom: {
    50: '#8b6ddb',
    500: '#4831c9',
    950: '#000000',
  },
}
SCSS
$custom: #4831c9;
$custom-light: #8b6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4831c9",
  "rgb": {
    "r": 72,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 249.079,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.21918,
    "h": 279.8
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#4831C9
secondary
#C4CF87
accent
#E444CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4831C9

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

Preview Lab → · Contrast checker → · Palette generator →

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