#4841DB#4841DB

#4841DB is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.225 H 276.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4841DB
RGBrgb(72, 65, 219)
HSLhsl(243, 68%, 56%)
HSVhsv(243, 70%, 86%)
CMYKcmyk(67.1%, 70.3%, 0%, 14.1%)
CIE-LABlab(38.32, 49.45, -77.35)
CIE-LCHlch(38.32, 91.81, 302.59°)
OKLaboklab(48.93% 0.024 -0.2235)
OKLCHoklch(48.93% 0.225 276.1)
XYZxyz(17.3448, 10.2712, 68.0726)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841DB #D4DB41
analogous
#4187DB #4841DB #9541DB
triadic
#4841DB #DB4841 #41DB48
tetradic
#4841DB #DB4187 #D4DB41 #41DB95
square
#4841DB #DB4187 #D4DB41 #41DB95
split-complementary
#4841DB #DB9541 #87DB41
monochromatic
#1F1A88 #2A23BB #4841DB #7A74E5 #ABA8EE

Accessibility & contrast

On white

6.87
#4841DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4841DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4841DB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841DB#FFFFFF#000000##FFFFFF
##4841DB1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#0053D8
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4841db;
/* rgb */ color: rgb(72, 65, 219);
/* oklch */ color: oklch(48.9% 0.225 276.1);
Tailwind
colors: {
  custom: {
    50: '#8e77e7',
    500: '#4841db',
    950: '#000000',
  },
}
SCSS
$custom: #4841db;
$custom-light: #8e77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4841db",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 242.727,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.22475,
    "h": 276.1
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#4841DB
secondary
#D9DC9C
accent
#EB3DE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4841DB

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

Preview Lab → · Contrast checker → · Palette generator →

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