#4840C6#4840C6

#4840C6 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.8% C 0.200 H 278.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4840C6
RGBrgb(72, 64, 198)
HSLhsl(244, 54%, 51%)
HSVhsv(244, 68%, 78%)
CMYKcmyk(63.6%, 67.7%, 0%, 22.4%)
CIE-LABlab(36.22, 43.30, -68.67)
CIE-LCHlch(36.22, 81.18, 302.23°)
OKLaboklab(46.84% 0.0278 -0.1981)
OKLCHoklch(46.84% 0.2 278)
XYZxyz(14.6956, 9.1205, 54.4011)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4840C6 #BEC640
analogous
#407BC6 #4840C6 #8B40C6
triadic
#4840C6 #C64840 #40C648
tetradic
#4840C6 #C6407B #BEC640 #40C68B
square
#4840C6 #C6407B #BEC640 #40C68B
split-complementary
#4840C6 #C68B40 #7BC640
monochromatic
#25206C #352E9B #4840C6 #756FD4 #A29EE2

Accessibility & contrast

On white

7.44
#4840C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4840C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4840C6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4840C6#FFFFFF#000000##FFFFFF
##4840C61.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4840c6;
/* rgb */ color: rgb(72, 64, 198);
/* oklch */ color: oklch(46.8% 0.200 278.0);
Tailwind
colors: {
  custom: {
    50: '#8a76d8',
    500: '#4840c6',
    950: '#000000',
  },
}
SCSS
$custom: #4840c6;
$custom-light: #8a76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4840c6",
  "rgb": {
    "r": 72,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 243.582,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.20003,
    "h": 278
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#4840C6
secondary
#CBCE93
accent
#DD4AD5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4840C6

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

Preview Lab → · Contrast checker → · Palette generator →

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