#4843D2#4843D2

#4843D2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.212 H 276.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4843D2
RGBrgb(72, 67, 210)
HSLhsl(242, 61%, 54%)
HSVhsv(242, 68%, 82%)
CMYKcmyk(65.7%, 68.1%, 0%, 17.6%)
CIE-LABlab(37.92, 45.42, -72.84)
CIE-LCHlch(37.92, 85.84, 301.95°)
OKLaboklab(48.39% 0.0241 -0.2103)
OKLCHoklch(48.39% 0.212 276.5)
XYZxyz(16.3087, 10.0438, 62.0395)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4843D2 #CDD243
analogous
#4386D2 #4843D2 #9043D2
triadic
#4843D2 #D24843 #43D248
tetradic
#4843D2 #D24386 #CDD243 #43D290
square
#4843D2 #D24386 #CDD243 #43D290
split-complementary
#4843D2 #D29043 #86D243
monochromatic
#211E7D #2E2AAE #4843D2 #7874DE #A8A6EA

Accessibility & contrast

On white

6.98
#4843D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4843D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4843D2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4843D2#FFFFFF#000000##FFFFFF
##4843D21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4843d2;
/* rgb */ color: rgb(72, 67, 210);
/* oklch */ color: oklch(48.4% 0.212 276.5);
Tailwind
colors: {
  custom: {
    50: '#8c78e1',
    500: '#4843d2',
    950: '#000000',
  },
}
SCSS
$custom: #4843d2;
$custom-light: #8c78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4843d2",
  "rgb": {
    "r": 72,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 242.098,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.21164,
    "h": 276.5
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#4843D2
secondary
#D5D79A
accent
#E443DF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4843D2

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

Preview Lab → · Contrast checker → · Palette generator →

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