#4841DF#4841DF

#4841DF is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.230 H 275.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4841DF
RGBrgb(72, 65, 223)
HSLhsl(243, 71%, 56%)
HSVhsv(243, 71%, 87%)
CMYKcmyk(67.7%, 70.9%, 0%, 12.5%)
CIE-LABlab(38.70, 50.71, -79.03)
CIE-LCHlch(38.70, 93.90, 302.69°)
OKLaboklab(49.31% 0.0234 -0.2284)
OKLCHoklch(49.31% 0.23 275.8)
XYZxyz(17.8777, 10.4844, 70.8793)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841DF #D8DF41
analogous
#4189DF #4841DF #9741DF
triadic
#4841DF #DF4841 #41DF48
tetradic
#4841DF #DF4189 #D8DF41 #41DF97
square
#4841DF #DF4189 #D8DF41 #41DF97
split-complementary
#4841DF #DF9741 #89DF41
monochromatic
#1D188E #2821C2 #4841DF #7A75E8 #ADAAF1

Accessibility & contrast

On white

6.78
#4841DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4841DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4841DF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841DF#FFFFFF#000000##FFFFFF
##4841DF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E4
Deuteranopia (green-blind)
#0054DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4841df;
/* rgb */ color: rgb(72, 65, 223);
/* oklch */ color: oklch(49.3% 0.230 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e77ea',
    500: '#4841df',
    950: '#000000',
  },
}
SCSS
$custom: #4841df;
$custom-light: #8e77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4841df",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 242.658,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.22955,
    "h": 275.8
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#4841DF
secondary
#DBDE9D
accent
#EE3AE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4841DF

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

Preview Lab → · Contrast checker → · Palette generator →

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