#4840C8#4840C8

#4840C8 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.0% C 0.203 H 277.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4840C8
RGBrgb(72, 64, 200)
HSLhsl(244, 55%, 52%)
HSVhsv(244, 68%, 78%)
CMYKcmyk(64%, 68%, 0%, 21.6%)
CIE-LABlab(36.39, 43.94, -69.55)
CIE-LCHlch(36.39, 82.27, 302.28°)
OKLaboklab(47.02% 0.0276 -0.2006)
OKLCHoklch(47.02% 0.203 277.8)
XYZxyz(14.9278, 9.2134, 55.6241)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4840C8 #C0C840
analogous
#407CC8 #4840C8 #8C40C8
triadic
#4840C8 #C84840 #40C848
tetradic
#4840C8 #C8407C #C0C840 #40C88C
square
#4840C8 #C8407C #C0C840 #40C88C
split-complementary
#4840C8 #C88C40 #7CC840
monochromatic
#24206E #342D9D #4840C8 #7670D6 #A39FE3

Accessibility & contrast

On white

7.39
#4840C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4840C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4840C8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4840C8#FFFFFF#000000##FFFFFF
##4840C81.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4840c8;
/* rgb */ color: rgb(72, 64, 200);
/* oklch */ color: oklch(47.0% 0.203 277.8);
Tailwind
colors: {
  custom: {
    50: '#8a76da',
    500: '#4840c8',
    950: '#000000',
  },
}
SCSS
$custom: #4840c8;
$custom-light: #8a76da;
$custom-dark: #000000;
JSON
{
  "hex": "#4840c8",
  "rgb": {
    "r": 72,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 243.529,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.20253,
    "h": 277.8
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#4840C8
secondary
#CCD094
accent
#DF49D6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4840C8

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

Preview Lab → · Contrast checker → · Palette generator →

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