#4841FA#4841FA

#4841FA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.9% C 0.261 H 274.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4841FA
RGBrgb(72, 65, 250)
HSLhsl(242, 95%, 62%)
HSVhsv(242, 74%, 98%)
CMYKcmyk(71.2%, 74%, 0%, 2%)
CIE-LABlab(41.31, 59.10, -90.00)
CIE-LCHlch(41.31, 107.67, 303.29°)
OKLaboklab(51.95% 0.0186 -0.2603)
OKLCHoklch(51.95% 0.261 274.1)
XYZxyz(21.8124, 12.0583, 91.6019)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841FA #F3FA41
analogous
#4197FA #4841FA #A441FA
triadic
#4841FA #FA4841 #41FA48
tetradic
#4841FA #FA4197 #F3FA41 #41FAA4
square
#4841FA #FA4197 #F3FA41 #41FAA4
split-complementary
#4841FA #FAA441 #97FA41
monochromatic
#0C05BC #1007F7 #4841FA #817DFC #BBB8FD

Accessibility & contrast

On white

6.15
#4841FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4841FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4841FA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841FA#FFFFFF#000000##FFFFFF
##4841FA1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#0059F7
Tritanopia (blue-blind)
#00779B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4841fa;
/* rgb */ color: rgb(72, 65, 250);
/* oklch */ color: oklch(51.9% 0.261 274.1);
Tailwind
colors: {
  custom: {
    50: '#9478fd',
    500: '#4841fa',
    950: '#000000',
  },
}
SCSS
$custom: #4841fa;
$custom-light: #9478fd;
$custom-dark: #000000;
JSON
{
  "hex": "#4841fa",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 250
  },
  "hsl": {
    "h": 242.27,
    "s": 94.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.26099,
    "h": 274.1
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#4841FA
secondary
#EBEEA9
accent
#E600DD
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #4841FA

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

Preview Lab → · Contrast checker → · Palette generator →

#4841FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva