#4842E3#4842E3

#4842E3 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.233 H 275.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4842E3
RGBrgb(72, 66, 227)
HSLhsl(242, 74%, 57%)
HSVhsv(242, 71%, 89%)
CMYKcmyk(68.3%, 70.9%, 0%, 11%)
CIE-LABlab(39.27, 51.42, -80.36)
CIE-LCHlch(39.27, 95.41, 302.61°)
OKLaboklab(49.84% 0.0222 -0.2323)
OKLCHoklch(49.84% 0.233 275.4)
XYZxyz(18.4813, 10.8185, 73.7724)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842E3 #DDE342
analogous
#428DE3 #4842E3 #9942E3
triadic
#4842E3 #E34842 #42E348
tetradic
#4842E3 #E3428D #DDE342 #42E399
square
#4842E3 #E3428D #DDE342 #42E399
split-complementary
#4842E3 #E39942 #8DE342
monochromatic
#1B1695 #241ECA #4842E3 #7C77EB #AFADF3

Accessibility & contrast

On white

6.64
#4842E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4842E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4842E3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842E3#FFFFFF#000000##FFFFFF
##4842E31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0055E0
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4842e3;
/* rgb */ color: rgb(72, 66, 227);
/* oklch */ color: oklch(49.8% 0.233 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f78ed',
    500: '#4842e3',
    950: '#000000',
  },
}
SCSS
$custom: #4842e3;
$custom-light: #8f78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4842e3",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 227
  },
  "hsl": {
    "h": 242.236,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.23331,
    "h": 275.4
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#4842E3
secondary
#DEE1A0
accent
#F137EA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4842E3

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

Preview Lab → · Contrast checker → · Palette generator →

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