#4840E3#4840E3

#4840E3 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.6% C 0.235 H 275.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4840E3
RGBrgb(72, 64, 227)
HSLhsl(243, 74%, 57%)
HSVhsv(243, 72%, 89%)
CMYKcmyk(68.3%, 71.8%, 0%, 11%)
CIE-LABlab(38.88, 52.52, -81.01)
CIE-LCHlch(38.88, 96.55, 302.96°)
OKLaboklab(49.56% 0.0233 -0.2341)
OKLCHoklch(49.56% 0.235 275.7)
XYZxyz(18.3665, 10.5889, 73.7341)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4840E3 #DBE340
analogous
#4089E3 #4840E3 #9A40E3
triadic
#4840E3 #E34840 #40E348
tetradic
#4840E3 #E34089 #DBE340 #40E39A
square
#4840E3 #E34089 #DBE340 #40E39A
split-complementary
#4840E3 #E39A40 #89E340
monochromatic
#1C1693 #261DC8 #4840E3 #7B75EB #AEABF3

Accessibility & contrast

On white

6.73
#4840E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4840E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4840E3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4840E3#FFFFFF#000000##FFFFFF
##4840E31.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0054E0
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4840e3;
/* rgb */ color: rgb(72, 64, 227);
/* oklch */ color: oklch(49.6% 0.235 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f77ed',
    500: '#4840e3',
    950: '#000000',
  },
}
SCSS
$custom: #4840e3;
$custom-light: #8f77ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4840e3",
  "rgb": {
    "r": 72,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 242.945,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.23529,
    "h": 275.7
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#4840E3
secondary
#DDE19E
accent
#F137E8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4840E3

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

Preview Lab → · Contrast checker → · Palette generator →

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