#4840DA#4840DA

#4840DA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.225 H 276.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4840DA
RGBrgb(72, 64, 218)
HSLhsl(243, 68%, 55%)
HSVhsv(243, 71%, 85%)
CMYKcmyk(67%, 70.6%, 0%, 14.5%)
CIE-LABlab(38.03, 49.69, -77.26)
CIE-LCHlch(38.03, 91.86, 302.74°)
OKLaboklab(48.69% 0.0248 -0.2232)
OKLCHoklch(48.69% 0.225 276.3)
XYZxyz(17.1566, 10.1049, 67.3624)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4840DA #D2DA40
analogous
#4085DA #4840DA #9540DA
triadic
#4840DA #DA4840 #40DA48
tetradic
#4840DA #DA4085 #D2DA40 #40DA95
square
#4840DA #DA4085 #D2DA40 #40DA95
split-complementary
#4840DA #DA9540 #85DA40
monochromatic
#1F1A86 #2C24B9 #4840DA #7973E4 #AAA7EE

Accessibility & contrast

On white

6.95
#4840DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4840DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4840DA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4840DA#FFFFFF#000000##FFFFFF
##4840DA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4840da;
/* rgb */ color: rgb(72, 64, 218);
/* oklch */ color: oklch(48.7% 0.225 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e77e7',
    500: '#4840da',
    950: '#000000',
  },
}
SCSS
$custom: #4840da;
$custom-light: #8e77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4840da",
  "rgb": {
    "r": 72,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 243.117,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.22458,
    "h": 276.3
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#4840DA
secondary
#D8DB9B
accent
#EA3DE1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4840DA

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

Preview Lab → · Contrast checker → · Palette generator →

#4840DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva