#4843E4#4843E4

#4843E4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.233 H 275.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4843E4
RGBrgb(72, 67, 228)
HSLhsl(242, 75%, 58%)
HSVhsv(242, 71%, 89%)
CMYKcmyk(68.4%, 70.6%, 0%, 10.6%)
CIE-LABlab(39.57, 51.19, -80.45)
CIE-LCHlch(39.57, 95.35, 302.47°)
OKLaboklab(50.07% 0.0214 -0.2325)
OKLCHoklch(50.07% 0.233 275.3)
XYZxyz(18.6786, 10.9917, 74.5210)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4843E4 #DFE443
analogous
#438FE4 #4843E4 #9843E4
triadic
#4843E4 #E44843 #43E448
tetradic
#4843E4 #E4438F #DFE443 #43E498
square
#4843E4 #E4438F #DFE443 #43E498
split-complementary
#4843E4 #E49843 #8FE443
monochromatic
#1A1697 #231DCC #4843E4 #7C79EC #B0AEF3

Accessibility & contrast

On white

6.57
#4843E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4843E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4843E4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4843E4#FFFFFF#000000##FFFFFF
##4843E41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E9
Deuteranopia (green-blind)
#0056E1
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4843e4;
/* rgb */ color: rgb(72, 67, 228);
/* oklch */ color: oklch(50.1% 0.233 275.3);
Tailwind
colors: {
  custom: {
    50: '#8f79ee',
    500: '#4843e4',
    950: '#000000',
  },
}
SCSS
$custom: #4843e4;
$custom-light: #8f79ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4843e4",
  "rgb": {
    "r": 72,
    "g": 67,
    "b": 228
  },
  "hsl": {
    "h": 241.863,
    "s": 74.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.23349,
    "h": 275.3
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#4843E4
secondary
#E0E2A1
accent
#F236EC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4843E4

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

Preview Lab → · Contrast checker → · Palette generator →

#4843E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva