#4842D3#4842D3

#4842D3 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.214 H 276.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4842D3
RGBrgb(72, 66, 211)
HSLhsl(242, 62%, 54%)
HSVhsv(242, 69%, 83%)
CMYKcmyk(65.9%, 68.7%, 0%, 17.3%)
CIE-LABlab(37.80, 46.32, -73.62)
CIE-LCHlch(37.80, 86.98, 302.18°)
OKLaboklab(48.33% 0.0246 -0.2125)
OKLCHoklch(48.33% 0.214 276.6)
XYZxyz(16.3747, 9.9759, 62.6780)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842D3 #CDD342
analogous
#4285D3 #4842D3 #9142D3
triadic
#4842D3 #D34842 #42D348
tetradic
#4842D3 #D34285 #CDD342 #42D391
square
#4842D3 #D34285 #CDD342 #42D391
split-complementary
#4842D3 #D39142 #85D342
monochromatic
#211D7D #2E29AF #4842D3 #7874DF #A8A5EA

Accessibility & contrast

On white

7.01
#4842D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4842D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4842D3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842D3#FFFFFF#000000##FFFFFF
##4842D31.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0053D0
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4842d3;
/* rgb */ color: rgb(72, 66, 211);
/* oklch */ color: oklch(48.3% 0.214 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c78e2',
    500: '#4842d3',
    950: '#000000',
  },
}
SCSS
$custom: #4842d3;
$custom-light: #8c78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4842d3",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 242.483,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.21397,
    "h": 276.6
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#4842D3
secondary
#D5D79A
accent
#E542DF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4842D3

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

Preview Lab → · Contrast checker → · Palette generator →

#4842D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva